i wanted a direct URL to be displayed for each photo, so that people can link to images in my gallery from any website on the net.
to do this, edit view_photo.php
and find this section:
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
<!-- caption -->
<tr>
<td colspan=3 align=center>
<span class="caption"><?= editCaption($gallery->album, $index, $edit) ?></span>
<br>url: <a href="<?=$photoURL?>"><?=$photoURL?></a><br>
</td>
</tr>
</TD></TR></TABLE><!-- BBCode End -->
and add the bold, italicized line.
example:
<!-- BBCode Start --><A HREF="http://picdump.dhs.org/gallery/daowebimages/southparkme" TARGET="_blank">Example</A><!-- BBCode End -->
Posts: 487
You could have done this using one of the html_wrapper files, which is what
they are there for. I'm pretty sure I mentioned this elsewhere.
Posts: 38
good point. I did this mod before i even knew about these forums and the work that other people were doing :wink: