Results 1 to 8 of 8
  1. #1

    Image resizing on website

    I searched but couldn't find something on this topic unless I missed it somewhere. I'm trying to figure out what sort of programming or script is used to put a picture resizing tool on a website for visitors to use. If someone knows of a script for this sort of tool that a webmaster can put on their site or what kind of programming is required, I'd appreciate any pointers or leads in the right direction. Thanks!

  2. #2
    Join Date
    Jan 2008
    i didn't got your clearly, but seems you looking for a script which automatically resize images. You can do this easily if you have installed GD and imagemagik library on your server.
    if you looking for script for this then you can search on google with "automatically resize images script gd library" keyword.

  3. #3
    Join Date
    Apr 2009
    Im stomped. I was going to suggest using cpanel then clicking on file manager to send you to the directory then you can always edit your pics using the necessary links but i guess that is not what your looking for
    If you're the smartest person in the room then you're in the wrong room

  4. #4
    I also want to know it, but still cann't find the ideal soulation. Someone says javascript can sovle it prefectly, looking for it.

  5. #5
    Join Date
    Aug 2009
    ruts, what kind of image resize solution are you looking for? Do you want to display a thumbnail version of big image? if so, it's very easy to make a script for this purpose. It will take only about 10 lines of code.

  6. #6
    Join Date
    May 2008
    Rutherford, NJ
    I have a few of those that i've written, what specifically are you looking for? I'll put it up for you
    Database design and performance optimization, custom PHP scripts, and publicly available resources for developers!

  7. #7
    Join Date
    Nov 2001
    PHP Code:
    # python
    from PIL import Image

    new_img orig_img.resize((400350), Image.ANTIALIAS)'your_big_image_resized.jpg'

    Python Imaging Library (free) has other functions which may be of use.


    Another example straight from the handbook, creates thumbnails from every jpg in a directory:

    PHP Code:
    # python
    from PIL import Image
    import glob


    for infile in glob.glob("*.jpg"):
    fileext os.path.splitext(infile)
    “Even those who arrange and design shrubberies are under
    considerable economic stress at this period in history.”

  8. #8
    Try looking up phpThumb on SourceForge (or google will get you there)

    You should checkout phpThumb. It might not be exactly what your looking for (ie you may need to make a few changes to it to make it work as you need)

    phpThumb is one of the most valuable, powerful thumbnail/image resizing tools that I know of.

Similar Threads

  1. is there a CDN that offer image resizing / manipulation?
    By jtarchie in forum Web Design and Content
    Replies: 6
    Last Post: 05-11-2013, 08:09 AM
  2. got some problems resizing an image...
    By fm78 in forum Web Design and Content
    Replies: 3
    Last Post: 06-20-2008, 10:47 AM
  3. RESIZING a PrntScrn Image
    By melian9102 in forum Web Design and Content
    Replies: 2
    Last Post: 05-21-2005, 08:46 PM
  4. Batch image resizing - as in 40K to 12K
    By saghir69 in forum Web Design and Content
    Replies: 4
    Last Post: 07-30-2004, 02:47 PM
  5. image resizing
    By sasha in forum Programming Discussion
    Replies: 8
    Last Post: 06-02-2003, 08:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts