![]() |
Another EXIF issue I have been going through and replacing some of my old images with newer ones shot with better equipment. Using edit to upload the replacement image is working fine, but the EXIF from the old image remains. I have tried a rescan, and it still shows the old EXIF. I'm guessing this is a simple bug or oversight, but it would be nice to see it corrected. In the meantime, what is the best way to get the new EXIF info in there? I realize I could just delete the old image and upload the new one fresh, but many of these URLs are already well-indexed in Google, and I don't want to start over (and worse, have people getting 404s when they click the search results). |
In image-inc.php find this Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
Sorry I didn't get back on this sooner, I was on vacation in Alaska :) I made the change you suggested, but it didn't make a difference. Replacing an image via the Edit Image Tab still leaves the old EXIF info in the db. Here is a link to the photo I tried the updated code with. If you check the info of the actual image, you will see it does not match the EXIF in the Info Tab. Indian Creek Falls - National Parked Gallery |
That change to image-inc.php should most definately change the exif info if exif info was extracted from the new replaced image. |
OK, but it didn't. Here is the section from my updated image-inc.php, copied directly from the file on my webserver. I included the lines before and after the section as well. Code: Content visible to verified customers only.I should mention again that a rescan for EXIF doesn't change the values either. |
Correct If you edit an image using editphoto then replace is greater than 0 as it is the photoid Code: Content visible to verified customers only. |
I have tested it with several more photo replacements and it has not worked with any of them. The old EXIF remains in every case. It would seem to me you need two photos with EXIF to test this out, so I am posting links to two of them (I would attach them, but I don't have anything close to <100kb as required here). Upload one to add the initial EXIF for the photoid, then replace with the other one to change to the new EXIF (which isn't happening for me). http://www.nationalparked.com/galler...ng_Fork_02.jpg http://www.nationalparked.com/galler...e_River_01.jpg |
I will forward this to Michael. I dont understand why it would not update based on the changes. |
Any further word on this? |
Try this in image-inc.php I see what happens in the top where the photo is replaced it has return which means it stops the script so this in bold should work. Essentially what we have done is move up the replacing of exif in the same spot where we update the photo and it kills the script Code: Content visible to verified customers only. |
|
Yes, that did it, thanks. For the record, will this change be added to future releases, or do I need to keep track of it so I can re-do it after the next update? |
Michael should update the build |
| All times are GMT -5. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0