Download Script Help

Hi folks,

If anyone could lend help with this, I would appreciate it. Per , I was able to modify the download_list.php file get the image added. What I am trying to figure out now is how to make a link out of the IMG tag so that if a person clicks on the reduced size picture (reduced due to the width attribute), they would be able to see the original full size picture (in a separate window of course).

<li style="overflow:hidden;">
<a href="<?php echo url('/downloads/dl/'.$download->id);?>">
<?php echo $download->name?></a><br />
<img src="<?php echo $download->image?>" style="width:150px; vertical-align:middle;" /><br />
 <?php echo $download->description?><br />
	 <em>Downloaded <?php echo $download->hits? times</em></li><br />

Regards,

Nat

try this?

<li style="overflow:hidden;">
<a href="<?php echo url('/downloads/dl/'.$download->id);?>">
<?php echo $download->name?></a><br />
<a href="<?php echo $download->image; ?>" target="_blank"><img src="<?php echo $download->image?>" style="width:150px; vertical-align:middle;" /></a><br />
	 <?php echo $download->description?><br />
			 <em>Downloaded <?php echo $download->hits? times</em></li><br />

That was the ticket. Thanks!