e2interactive forums » Sample of (E)2 Photo Gallery

Search:

IPTC Infos after uploads are gone

(10 posts)

  1. leo
    Member

    hello.

    I've installed the gallery on my local xampp development environment. when I do some pic "uploads", the thumbnails were created and the pics are in the gallery. so everything looks fine.

    but when I've click on the Info Button, no IPTC Infos are shown.
    I've checked the images before the upload in photoshop, so all infos are in the file.
    Then I've checked the image after the upload in potoshop and all IPTC Infos are empty?

    so where's the error?

    need some help and would be great to get some infos.
    by tthe way, it's an awesome gallery script.

    thanks, leo

    Posted 3 months ago #
  2. julianarp
    Member

    I am having the same problem. This is such a great script, please help.
    This is my url if that helps...

    http://www.sylviadeswaan.com/gallery1.php

    Posted 3 months ago #
  3. Yeah the gallery uploader removes the IPTC info, I typically upload the photos and then add the IPTC data after upload.

    Posted 3 months ago #
  4. leo
    Member

    hello e2.

    is there a way that the uploader doesn't remove the IPTC Infos?
    your way looks to me a bit non common.

    anyway, how do you add the IPTC Infos to the images?
    do you download the images via FTP, add the IPTC Data and re-upload the images?

    thanks. leo

    Posted 3 months ago #
  5. Yes, if you have the uploader simply upload the files and not resize the large images. To do this, simple open up the index.php file inside the uploader and find the following line:

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

    If you remove this, it will simply upload the files as is. But you will need to batch process your images pre-hand to no more than 600x600 for the images to work in the gallery (unless you modify the gallery to accept larger images). The uploader will upload the images, and create the thumbails, but not rewrite the images so the IPTC data should stay intact.

    Posted 3 months ago #
  6. leo
    Member

    hello e2.

    thank you very much. that works perfect for me.
    maybe I 'll try to get some bigger images into the gallery like 700x700

    thanks for your help.
    leo

    Posted 3 months ago #
  7. chucknorrisrules
    Member

    Hi. I really like your gallery, and am trying to get it to work for me. I'm making a gallery for someone else who isn't very computer savvy, and it's really important that the IPTC info not get lost when using the upload. So...

    I saw in the post above that you said to find:

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

    Then you said to "remove" it. Do you actually mean to remove all the various $handle statments ? Or would it also be possible to just change the "true" to "false" in the image_resize ?

    Posted 3 months ago #
  8. chucknorrisrules
    Member

    btw, I tried removing everything like you said, and every time I remove it, I am able to upload the image fine, and I can see that the image is in the proper directory, also the thumb is created fine and all the info is there, however the large image just doesn't load...the "loading" message just keeps spinning. I made sure that the image was within 600x600 too.

    Any ideas?

    Posted 3 months ago #
  9. chucknorrisrules
    Member

    sorry...here's my test gallery:

    http://gesarsfootprint.com/e2_photo_gallery_full/index.php#

    Posted 3 months ago #
  10. The large image loads for me, what browser are you using?

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.