Hi there,
is there a possibility to open the picture in a lightbox? I want to link from the home-page to the blog-page and then the single picture should be open in a lightbox.
It´s a photoblog and every post is in picture format.
http://www.seegers-fotografie.de (homepage)
http://www.seegers-fotografie.de/frohes-neues-jahr/ (example blog-page)
Thank you and greeting from Germany!
Hi,
Open config-templatebuilder/avia-shortcodes/masonry_entries.php and look for line 748:
$this->loop[$key]['html_tags'] = array('a href="'.$this->loop[$key]['url'].'"','a'); //opening and closing tag for the masonry container
Replace it by this:
$this->loop[$key]['html_tags'] = array('a href="'.wp_get_attachment_image_src($this->loop[$key]['thumb_ID'], 'full')[0].'"','a'); //opening and closing tag for the masonry container
Regards,
Josue
Hi Josue,
you can close the Topic.
Thanks for your help!
best regards, Tim