Hi and thanks for a really great bit of code.
Can you tell me now to modify the picture template so that the picture has a hyperlink to a page ? (eg when the picture is clicked, you are redirected to a page) ?
Thanks again.
Hi and thanks for a really great bit of code.
Can you tell me now to modify the picture template so that the picture has a hyperlink to a page ? (eg when the picture is clicked, you are redirected to a page) ?
Thanks again.
in the picture template
edit line 13
var img_obj = "<img id='img_obj' src= '" + opt.picture_url + "'/>";
to
var img_obj = "<a href='http://www.mylink.com'><img id='img_obj' src= '" + opt.picture_url + "'/></a>";Thank you so much Zoranc. That works a treat!
Tridley
You must log in to post.