4images Forum & Community

4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: binuj01 on October 06, 2005, 07:34:26 PM

Title: Download Button Link should point to an URL
Post by: binuj01 on October 06, 2005, 07:34:26 PM
Hai Vano,
 CAn u give me the exact syntax to point my "download_off.gif" button to another URL.
I have tried the forums...but I always get an error.

Kindly give the syntax in full...
For ur refreence the orginal code in functions.php is
$download_button = "<img src=\"".get_gallery_image("download_off.gif")."\" border=\"0\" alt=\"\" />";

I need this button to point to another URL.

Thanks in advnce
Binu
Title: Re: Download Button Link should point to an URL
Post by: V@no on October 07, 2005, 01:16:20 AM
Code: [Select]
$download_button = "<a href=\"http://whatever_url_you_want.here.com\" target=\"_blank\"><img src=\"".get_gallery_image("download_off.gif")."\" border=\"0\" alt=\"\" /></a>";
Title: Re: Download Button Link should point to an URL
Post by: binuj01 on October 07, 2005, 05:07:16 AM
Thanks Vano. It was perfect.
Binu