 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
June 7th, 2008, 04:16 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jan 2007 Location: Ohio
Posts: 52
| 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).
|
| |
June 9th, 2008, 08:34 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
In image-inc.php find this Code: Content visible to verified customers only.
REPLACE WITH THIS Code: Content visible to verified customers only.
Last edited by Chuck S; June 11th, 2008 at 08:52 AM.
|
| |
June 22nd, 2008, 07:31 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jan 2007 Location: Ohio
Posts: 52
|
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 |
| |
June 23rd, 2008, 07:19 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
That change to image-inc.php should most definately change the exif info if exif info was extracted from the new replaced image.
|
| |
June 23rd, 2008, 04:00 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jan 2007 Location: Ohio
Posts: 52
|
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.
|
| |
June 24th, 2008, 07:32 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
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.
|
| |
June 24th, 2008, 03:53 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jan 2007 Location: Ohio
Posts: 52
|
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 |
| |
June 25th, 2008, 11:59 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
I will forward this to Michael. I dont understand why it would not update based on the changes.
|
| |
June 27th, 2008, 04:02 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jan 2007 Location: Ohio
Posts: 52
|
Any further word on this?
|
| |
June 28th, 2008, 10:21 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
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.
|
| |
June 28th, 2008, 10:26 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
| |
| |
June 28th, 2008, 03:48 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Jan 2007 Location: Ohio
Posts: 52
|
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?
|
| |
June 28th, 2008, 04:00 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
Michael should update the build
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | No EXIF. :-( | Charles_cz | Photopost Pro Installation & Upgrades | 10 | September 19th, 2009 01:07 PM | | EXIF issue | largudon | General Discussion | 3 | October 4th, 2006 07:36 AM | | exif | shashi | Photopost Pro Installation & Upgrades | 14 | December 13th, 2005 05:10 PM | | 5.x EXIF Issue | WB | Photopost Pro Bug Reports | 2 | August 27th, 2005 12:42 PM | | EXIF doesn't work. | alzy | Photopost Pro Installation & Upgrades | 1 | March 17th, 2005 10:06 AM | All times are GMT -5. The time now is 08:50 AM. | |