PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Another EXIF issue (http://www.photopost.com/forum/photopost-pro-bug-reports/136889-another-exif-issue.html)

AdamNP June 7th, 2008 04:16 PM

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).

Chuck S June 9th, 2008 08:34 AM

In image-inc.php find this

Code:

Content visible to verified customers only.
REPLACE WITH THIS

Code:

Content visible to verified customers only.

AdamNP June 22nd, 2008 07:31 PM

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

Chuck S June 23rd, 2008 07:19 AM

That change to image-inc.php should most definately change the exif info if exif info was extracted from the new replaced image.

AdamNP June 23rd, 2008 04:00 PM

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.
Just to make it clear if it isn't, I am using the edit image function when viewing an image, browsing to a replacement image, and uploading it via the web interface. PP processes it and displays the new thumbnail and image. It does NOT extract the new EXIF. The example link I gave above is to an image with complete EXIF info. It simply is ignored when it is uploaded, and the old image's EXIF remains in the DB. The same exact image uploaded as a new one extracts and shows the EXIF perfectly.

I should mention again that a rescan for EXIF doesn't change the values either.

Chuck S June 24th, 2008 07:32 AM

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.
If you post a photo here that has exif I can test here and show it should work fine.

AdamNP June 24th, 2008 03:53 PM

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

Chuck S June 25th, 2008 11:59 AM

I will forward this to Michael. I dont understand why it would not update based on the changes.

AdamNP June 27th, 2008 04:02 PM

Any further word on this?

Chuck S June 28th, 2008 10:21 AM

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.

Chuck S June 28th, 2008 10:26 AM

Great_Smoky_Mountains_Roaring_Fork_01 - ReefTalk Gallery

Tested and confirmed

AdamNP June 28th, 2008 03:48 PM

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?

Chuck S June 28th, 2008 04:00 PM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97