WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Building Custom Template, Looking for (only) Image (1 post)

  1. ckheaton
    Member
    Posted 2 years ago #

    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="http://custommarble.net/admin/wp-content/gallery/gallery-landing/kitchen-gallery-main.jpg" title="" class="shutterset_gallery-landing">
    	<img alt="Kitchen Gallery" src="http://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="http://custommarble.net/admin/wp-content/gallery/gallery-landing/kitchen-gallery-main.jpg"/>

    What would I use?

    Thanks for any help!

    http://wordpress.org/extend/plugins/nextgen-gallery/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.