PDA

View Full Version : Help with EXIF and color change


aikon
12-15-2005, 12:46 AM
I have 2 areas I need help in.

First here is my site. http://www.oipixs.com

Thanks to Yovko for the template. However, I would like to be able to give viewers the option to change the colour to better view photos if needed. Any ideas?

Second, I sem to be missing the EXIF data. I am resizing the photos in picasa. Will this affect the data?

e300
12-15-2005, 02:15 AM
Picassa does retain the EXIF data.

What you can do to check if the exif data is intact is to edit includes/exifer1_5/index.php -> find the line that starts with $path= and point it to one of your images - for example

$path="../../images/20051214032157_pc021060.jpg";

Then, point your web browser to yoursite.com/includes/exifer1_5/

If it all works, you will see the output of all the EXIF info that is available to you for an image. Of course, you should then add the appropriate template tags to your pages to display whatever bits you want.

Take a look in the templates/simple/image_template.html file for EXIF (in caps) for an example of how to use the info. Additionally, you will possibly need to look in the index.php file to see what each of the EXIF attributes are and their availibility to use them within your template.