EXIF, revisited..

foxtrot_xray

Joined: 2005-05-01
Posts: 2
Posted: Mon, 2005-05-02 00:53

Hey all,
New guy (read: n00b) here, and have a couple really basic questions.. I know PHP, however, while looking at the TPL's to make the little changes to the EXIF section I came across...

  {if !empty($ExifItemDetails.exifData)}
  <table class="gbDataTable">
    {section name=outer loop=$ExifItemDetails.exifData step=2}

..Now, like I said, I know PHP. However, as dumb as this sounds, the code above is completely foreign to me. It didn't take long to gather it up and figure out what it's doing, but I've never seen that language before. First question - how can I abort out of a section ''early''? (In this case, if I'm in the ''Inner'' section, and want to jump back out to the outer section without advancing to the next EXIF data pair.)

Second question is this - where/what/how (I know it's not in a DB table) are which EXIF tags to display, and the ''order' in which to display them? (For both ''Summary'' and ''Detailed'')

My little project, for what I'll be using the gallery for, I'd like to make the EXIF display a little more user-friendly and such.. I have everything I need done, save for the two issues above.

Many thanks!
Fox.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-05-02 01:06

1) start with the G2 Customization guide, sticky topic in this forum.. it tells you about smarty.. i don't know offhand if you can break out of a smarty section.
2) g2_ExifPropertiesMap in the db

 
foxtrot_xray

Joined: 2005-05-01
Posts: 2
Posted: Mon, 2005-05-02 21:29
mindless wrote:
1) start with the G2 Customization guide, sticky topic in this forum.. it tells you about smarty.. i don't know offhand if you can break out of a smarty section.
2) g2_ExifPropertiesMap in the db

Well, I'll be dammed. Many thanks for the short and quick answer!

Fox.