PDA

View Full Version : EXIF for non-digital posts


Anonymous
12-01-2004, 01:05 AM
I'm using Pixelpost as the new software for my blog. I have a Canon EOS 10D and the digital images with EXIF data appear fine. However I scan negatives from my Canon EOS Elan 7 which have no EXIF but the template still attempts to display the settings -- e.g., for such pictures I see / / / which are the dividers used in the pixelpost-dark theme to seperate camera model, shutter speed, aperture and focal length. Yuck.

In image_template.html I'd like to conditionally display the EXIF provided there is EXIF to display. I can't do this cleanly in the template since it's not a PHP file.

I realize I can do this in Javascript by setting the div display style to none, but I really don't want to go that route....

Connie
12-01-2004, 05:15 AM
Hi George,

it should not be part of the template or CSS, I think the script should handle the template variables in that way

so that <EXIF_EXPOSURE_TIME>
<EXIF_APERTURE>
<EXIF_CAPTURE_DATE>
<EXIF_FLASH>
<EXIF_FOCAL_LENGTH>
<EXIF_CAMERA_MAKE>
<EXIF_CAMERA_MODEL>


are empty if no data, without the separators...

let's suggest a modification of the script :wink:

pixelpunk
12-01-2004, 11:19 AM
You can remove the delimiter from the template and perhaps just add a few extra spaces between the info, like     would serve to do the trick.

// punk

Anonymous
12-01-2004, 02:21 PM
I could but I'd rather have the /'s as separators when there is EXIF data :)

pixelpunk
12-01-2004, 02:48 PM
You could add it either in the language file or just do it in the script itself.

// punk