Marko,
How did you get other tag info to appear in your slideshow template? I'd like to map a couple of my fields to show up in my galleries.
Thanks,
Bri
real brief here to begin with....
I presume you're asking about this info here...
==============
This is two table columns to the right of the photo, the first is right justified, and the second is left justified.
I created two new expression based database fields to produce the content.
1. Named "html-info-labels" looks like this:
<span class="style1">Photographer - <br>if(isempty([Camera]),Camera - <br>Date - <br>Status - ,Camera - <br>Date - <br>Aperture - <br>Flash - <br>Focal Length - <br>Shutter Speed - <br>Status - )</span>
2. Named "html-info" looks like this:
<span class="style2">if(isempty([Artist]),Not Specified,[artist])<br>if(isempty([Camera]),Not Specified<br>[date]<br>if(isequal([filename (name)],edited,8),Edited /([needs editing]/),Original)</span>,[camera]<br>[date]<br>[aperture]<br>[flash]<br>[Focal Length]<br>[Shutter Speed]<br>if(isequal([filename (name)],edited,8),Edited /([needs editing]/),Original)</span>
The expressions take care of outputting relevant info depending upon whether or not the [camera] tag is populated, and the styles are specified in the .css file.
Once that's all set, all that's needed in the gallery template file is to call the single database fields that will produce the information, like so:
[DB:THIS][html-info-labels][DB:END]I know I'm biased, but I think it works great, and looks great. If you look at the
PC Building example, you can see the expressions in action by comparing the data shown for the photos against the data shown for the two screenshots at the end.
What I know about writing html code could be written on the back of a postage stamp, with space to spare, which leaves me with the firm belief that someone skilled in the art of writing web pages could probably use this method to get MC to turn out some pretty neat things indeed.
Of course, if you just want a couple of existing fields to show up in your gallery, then all you need to do is find the place in the template that you'd like them to show up, and enter the code as shown by DP a few posts back, like so: [DB:THIS][Your Field][DB:END] and the contents of [your field] will be shown in the gallery. Bear in mind that if the field is empty, you'll get "unassigned" or "unknown" which is something I personally don't like too much, so I used expressions to take care of that eventuality.
-marko.