Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #1  
Old 05-03-2008, 06:21 PM
Pixelfuss Offline
forum loafer
 
Join Date: May 2008
Posts: 10
Question Add EXIF Data to Horizon Template

Hello,

I'm using the Horizon template and would like to include EXIF data, can someone help? I have read and found the EXIF tags, but do not know where to include them in the CSS or templates?
Reply With Quote
  #2  
Old 05-03-2008, 06:55 PM
Crossie Offline
pp veteran
 
Join Date: Sep 2006
Location: Germany
Posts: 71
Send a message via ICQ to Crossie
Usually you want to place the tags somewhere in the the file image_template.html or in comment_template.html. You can place them wherever you want them to appear. But it would make sense to create a separate CSS container (div) in the templates CSS file for the output-formatting.

Regards
Uwe
__________________
www.accessible.de
Reply With Quote
  #3  
Old 05-03-2008, 07:06 PM
dhdesign's Avatar
dhdesign Offline
pixelpost guru
 
Join Date: Mar 2007
Location: Ohio
Posts: 431
You need to include the exif tags in the image_template.html file of the Horizon template.

Open it in a text editor, then scroll down to around lines 36-37 - code at that point should be:
Code:
<div id="image_notes">
<IMAGE_NOTES>
After that, add the following:
Code:
<div id="image-exif">
<EXIF_CAMERA_MODEL><br />
<EXIF_EXPOSURE_TIME><br />
<EXIF_APERTURE><br />
<EXIF_FLASH><br />
</div>
These are just examples of common exif tags that are used in templates - you can change or add to them as need be, so long as you include them before the closing div tag.

In your stylesheet (horizon.css), add the following:
Code:
#image_notes #image-exif {
	padding-top: 10px;
	text-align: left;
	vertical-align: top;
}
That will style the div that the exif tags are included in. Make whatever changes necessary (padding, etc.) in order for them to fit in properly with the rest of the information in the left column.

If you have any questions or problems, post back here and I or someone else will try to help you out.
__________________
My photoblog: KP Images
Reply With Quote
  #4  
Old 06-07-2008, 10:22 AM
siddr20 Offline
pp regular
 
Join Date: Apr 2008
Posts: 29
Thanks for this

Works great!!
Reply With Quote
  #5  
Old 06-27-2008, 02:16 PM
JFMichaud Offline
forum loafer
 
Join Date: Jun 2008
Posts: 7
Super

Très bien je cherchais justement la même info...

Super i was looking for the exact same info

Thanks
Reply With Quote
  #6  
Old 07-02-2008, 11:26 AM
djaef's Avatar
djaef Offline
pixelpost guru
 
Join Date: Aug 2006
Location: Sunny Queensland
Posts: 103
Thank you. I was doing it all in the wrong place (comments page)
__________________
Geoff

:: photografica photoblog ::
:: photografica webblog ::
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 03:48 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs