Get the large image of the gallery image
-
I am using the following code to loop through the galley images in the post
<?php $galleries = get_post_galleries_images( $post ); foreach( $galleries as $gallery ) { // Loop through each image in each gallery foreach( $gallery as $image ) { $image_list .= '<a href="'.'LINK TO LARGE IMAGE'.'"><img src="'. $image .'"/></a>'; } } echo $content .= $image_list; ?>
How do I get the link to large image of the gallery image so that I can replace “LINK TO LARGE IMAGE” in the above code with it?
Any help is be much appreciated
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get the large image of the gallery image’ is closed to new replies.