need code help
-
Hi,
I have a galllery setup here
I have prettyphoto on my album pages here :
https://www.wildart.in/album/rufous-breasted-accentor/Thing is someone click on image and it fetches large image in prettyPhoto.
Now I want to replace that to load permalink of that image.The code is here that loads up prettyphoto popup.
<a href="<?php $img=get_sub_field('single_image'); echo $img;?>" class="lightbox" title="<?php $size = getimagesize($img, $info); if(is_array($info)) { $iptc = iptcparse($info["APP13"]); //print_r(array($iptc)); echo $iptc['2#120'][0]; } ?>" data-rel="prettyPhoto[1]">
Can anyone guide how can I replace so as the click on the thumbnail takes to permalink of that image ?
Sorry I am not a programmer just wish to make little mod’s myself which my fried has designed for me.
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘need code help’ is closed to new replies.