Hi,
Thanks for your help. So far i have only set this up for one of my albums until i know it is all working properly.
I have just one more question. At the moment, the code in my image.php file is:
Code:
<?php
//variables used
$dir = "pictures/";
$year = "2009/";
$type = "Photos/";
$folder = "0/";
$file = "$image";
?>
<a target="_blank" href="<?php echo $dir;?><?php echo $year;?><?php echo $type;?><?php echo $folder;?><?php echo $file;?>">Download a copy of this image</a>
and it looks like this. It puts the link underneath the caption but the lightbox still works!
#removed_broken_link (its a album specific links as this is the only one where i have implemented it as of yet!)
I know i still need to put the security bit at the top. However, is it possible to make it so that the album ($folder) is a variable like the image ($file) is. This way, i can put the same file into all my albums from one year!
Many Thanks for your help so far,
Simon[/url][/code]