e2interactive forums » (E)2 Photo Gallery FAQ

Search:

Image Resize and Thumbnail size

(3 posts)

  1. rsunny
    Member

    Hello
    First of all congratulations on the AMAZING product. Simply loved it and there is no better way to put it.

    Here are my queries

    1) The image sizes which i am using are BIG, 1280+ images. The maximum i can go is 800*600. Is there a way to automatically set the re-size levels to 800*600?

    Thank you so much.

    Posted 6 months ago #
  2. Thank you. Glad to hear you love it.

    Yes you can set the resize. Two ways.

    1. Simply bypass using the uploader and resize your images using another program and FTP'ing them to your site.

    2. Open up the index.php file in the uploader file and locate the following:

    $handle->image_resize       = true;
    $handle->image_ratio         = true;
    $handle->image_y               = 600;
    $handle->image_x               = 600;
    $handle->jpeg_quality        = 95;

    Change it to:

    $handle->image_resize       = true;
    $handle->image_ratio         = true;
    $handle->image_y               = 800;
    $handle->image_x               = 600;
    $handle->jpeg_quality        = 95;

    See if that works for you.

    Posted 6 months ago #
  3. kerns
    Member

    Very nice product indeed!

    Any plans of including a script that dynamically resizes on the fly? For instance, I made 2 variables in the config file to specify the max x or y dimensions of the thumbnails and main images, and then I run that through an image resize script when the image is displayed.

    Something like this:
    <img src="resize.php?file='.$path.'/'.$file[name].'&size='.$thumbSize'." ...

    I currently have this working for the thumbs, now working on the main image. I think this would be a great feature to be integrated with your build.

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.