e2interactive forums » (E)2 Photo Gallery FAQ

Search:

Description Issue

(2 posts)

  1. Kirk
    Member

    First off, fantastic script looks and works like a dream, apart from one small problem giving me some issues.

    None of the descriptions are being displayed. Now my images do have the correct meta data added to them and just to be sure of this I downloaded some of the photos you used on the online demo just to make sure.

    Now when I upload these images using the uploader they display in the gallery like they should but with no description. However if I replace photo via ftp with the exact same image magically I have a description.

    Can anyone help, why wont the uploader successfully upload my descriptions?

    Posted 2 months ago #
  2. The uploader uses a php class that resizes the images, on upload the images a recreated and the meta data is not transferred to the newly created image. There are a couple of work arounds:

    1. Resize your photos first to no more than 600x600 pixels. use the upload to only upload the image, and not resize them. To do this you'll have to modify a couple of lines on the uploader script. It'll still create the thumbnails and upload them to the correct place.

    2. Use the upload as is and then download the big file after upload and ad the meta data back in.

    3. Upload them through FTP only, you have to resize the images and thumbnails to do it this way

    For #1 find the following PHP and delete and save the index.php file in the uploader folder:

    $handle->image_resize          = true;
    $handle->image_ratio           = true;
    $handle->image_y               = 600;
    $handle->image_x               = 600;
    $handle->jpeg_quality          = 95;
    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.