PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Exif not showing if information comes from rescan (http://www.photopost.com/forum/photopost-pro-bug-reports/135096-exif-not-showing-if-information-comes-rescan.html)

cellarius January 23rd, 2008 01:43 PM

Exif not showing if information comes from rescan
 
Hi,

I have newly installed jhead to extract exif information. Works very well with newly uploaded images: Exif is being extracted and camera-symbol shown on showphoto.php. Information given there is correct. So the jhead and exif settings have to be correct.

I ran a scan on my database to read exif from the photos already present in the gallery. Scan worked well. If I look at the database directly, I can see the exif-information that was read from the images (pp_exif.exifinfo).

Now the problem: The camera-symbol does not show. From looking at showphoto.php I gather that Photopost decides whether to show the symbol or not on basis of pp_photos.exifinfo (1=show, 0=don't show). My newly uploaded images sport a shining 1 there, whereas all old images feature a dim 0, altough there definitely is exif info for that image in pp_exif.exifinfo.

How can I make photopost to recognize that newly added exif information? And no, sadly not all the images have exif information. If that was the case, I just would set the whole pp_photos.exifinfo column to 1.

Any help appreciated.

Additional info: I'm running 6.01, and I repeated the exif rescan twice.

Chuck S January 23rd, 2008 02:06 PM

Try running the upgrade script 5.62 to 6.0 option that will populate your old photos pre 6.0.

cellarius January 23rd, 2008 03:17 PM

Thanks, that did the trick. Problem solved :)

Chuck S January 23rd, 2008 03:46 PM

enjoy your evening glad to assist.

AdamNP June 4th, 2008 11:46 PM

Hello. I am having a problem related to this. The solution to run the upgrade script does in fact fix the problem of changing the 'exifinfo' value to 1 for images that contain EXIF. However, when I upload a new image that contains EXIF, the show EXIF button never appears.

I have confirmed that the EXIF info is being read into the database on upload. The pp_exif table contains all of the info needed. The value for 'exifinfo' is remaining at 0 for some reason. Running the upgrade script again changes it to 1. Obviously running the upgrade script every time an image is uploaded is not practical. Any idea what the problem is? I am running 6.01.

Chuck S June 5th, 2008 07:52 AM

jhead path is entered in global options and extract exif set to on in admin options?

I have tested this and it appears to work?

How about a test photo and a link to your gallery and a test user login?

AdamNP June 5th, 2008 01:30 PM

Yes, as I said, the EXIF is actually being extracted and entered into the database, the INFO icon is simply not being displayed. If I manually change the 'exifinfo' field to '1' it displays fine. For some reason 'exifinfo' is being left at '0' on new uploads.

Here's a link to one I uploaded last night. It has EXIF, and in fact the EXIF is in the database, it simply doesn't display.

Juneywhank Falls - National Parked Gallery

I will PM you a login.

[edit] Or perhaps not. I can't PM you... the Gallery is open to join, or I can email you somewhere.

Chuck S June 5th, 2008 02:12 PM

What version of Photopost do you run?

I am seeing this in our image-inc.php which updates the photo table field

Code:

Content visible to verified customers only.
I would suggest you redownload the build and upload the files except config files and upgrade and test this.

AdamNP June 5th, 2008 02:28 PM

I am running 6.01

To do what you suggest I had to renew my access to the members area. That is done, but I apparently have to wait until someone manually gives me access again.

Chuck S June 5th, 2008 02:59 PM

Okay You can also check your image-inc.php file to ensure the posted code is correct as I have outlined above in that file if you dont want to wait for the new code.

AdamNP June 5th, 2008 06:12 PM

Well, it's working now. The code was the same, but apparently something happened during the 6.01 > 6.1 upgrade that made everything better... it also gave me the motivation to upgrade VB from 3.6.8 to 3.7.1 and redo my templates, so it was a productive day :)

Chuck S June 6th, 2008 08:12 AM

Glad your happy and everything is upgraded to the latest versions thats always a nice feeling doing a little work on your site and updating things. At least I always enjoy it. Have a wonderful weekend.


All times are GMT -5. The time now is 02:40 AM.

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