IPTC Infos after uploads are gone
Home › Forums › (E)2 Photo Gallery (The Open Source One) › Sample of (E)2 Photo Gallery › IPTC Infos after uploads are gone
This topic has 8 voices, contains 16 replies, and was last updated by 585 days ago.
| Author | Posts |
|---|---|
| Author | Posts |
| March 15, 2008 at 8:38 am #1279 | |
|
|
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. so where’s the error? need some help and would be great to get some infos. thanks, leo |
| March 16, 2008 at 7:22 am #1280 | |
|
|
I am having the same problem. This is such a great script, please help. |
| March 16, 2008 at 10:01 am #1281 | |
|
E2 |
Yeah the gallery uploader removes the IPTC info, I typically upload the photos and then add the IPTC data after upload. |
| March 16, 2008 at 11:29 pm #1282 | |
|
|
hello e2. is there a way that the uploader doesn’t remove the IPTC Infos? anyway, how do you add the IPTC Infos to the images? thanks. leo |
| March 17, 2008 at 7:11 am #1283 | |
|
E2 |
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:
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 600×600 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. |
| March 19, 2008 at 10:41 pm #1284 | |
|
|
hello e2. thank you very much. that works perfect for me. thanks for your help. |
| April 4, 2008 at 10:09 am #1285 | |
|
|
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; 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 ? |
| April 4, 2008 at 10:17 am #1286 | |
|
|
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 600×600 too. Any ideas? |
| April 4, 2008 at 10:25 am #1287 | |
|
|
sorry…here’s my test gallery: |
| April 7, 2008 at 7:46 am #1288 | |
|
E2 |
The large image loads for me, what browser are you using? |
| March 3, 2009 at 1:02 pm #1289 | |
|
|
Hi there, I’d like to know then, how to add IPTC info to each image AFTER it’s been uploaded using the uploader (which erases the IPTC info upon upload). (i.e. what file do i modify or do i need to call to a function or … ) Thank you. |
| March 3, 2009 at 7:41 pm #1290 | |
|
E2 |
The IPTC data is read from the larger image, so if you want to add info back to those file you’d need to add it to the large image. If you want to do your initial resize and use the uploader to resize the thumbnails only you could use Photoshop to resize your images first to no more than 600×600, then do the above removing the needed code from the index.php file of the uploader to not modify the original image but use the large image to create the thumbnail. |
| March 17, 2009 at 12:30 pm #1291 | |
|
|
Would it not be possible to pull all the iptc info out into an array and then write this into the resized file? I would be lots of code I imagine, but I’m sore it’s possible! I really want to use this, and most likely will, but the iptc stuff going on upload with resize is making me wait… It’s for a friend who needs it to be very simple for his portfolio. |
| March 17, 2009 at 3:09 pm #1292 | |
|
E2 |
Yeah the uploading code I didn’t write, I use an open source image resize and upload class, I keep hoping that he’ll add it to the functionality. It’s a little bit beyond my programming abilities or more like beyond what I’d like to tackle right now. I’m working on a new gallery that uses a simple XML file to put you title and description, copyright and more, per photo. |
| March 18, 2009 at 9:39 am #1293 | |
|
|
I am not using uploader, and exactly thus, the IPTC does not appear. where I can encontto rar the solution? |
You must be logged in to reply to this topic.








