[Plugin: NextGEN Gallery] Building Custom Template, Looking for (only) Image
-
This seems silly, but I can’t seem to figure out how to just display the image from the tags in the templates provided.
For Example:
In the imagebrowser.php template ( located in the /view/ folder )
Line 23:<div class="pic"><?php echo $image->href_link ?></div>
Produces:
<div class="pic"><a href="https://custommarble.net/admin/wp-content/gallery/gallery-landing/kitchen-gallery-main.jpg" title="" class="shutterset_gallery-landing"> <img alt="Kitchen Gallery" src="https://custommarble.net/admin/wp-content/gallery/gallery-landing/kitchen-gallery-main.jpg"/> </a> </div>
If I JUST wanted to output:
<img alt="Kitchen Gallery" src="https://custommarble.net/admin/wp-content/gallery/gallery-landing/kitchen-gallery-main.jpg"/>
What would I use?
Thanks for any help!
- The topic ‘[Plugin: NextGEN Gallery] Building Custom Template, Looking for (only) Image’ is closed to new replies.