Support » Plugins and Hacks » Hacks » How to remove img tag from gallery

  • Hi,

    I am using custom function for my gallery but still I need some mods.

    I have this:

    <div class="gallery galleryid-182" id="gallery-1">
    	<a title="Image title #1" href="http://image-link.com/1.jpg" rel="shadowbox[title]"><img title="Image title #1" alt="Image title #1" class="attachment-thumbnail" src="http://image-link.com/1.jpg"></a>
    	<a title="Image title #2" href="http://image-link.com/2.jpg" rel="shadowbox[title]"><img title="Image title #2" alt="Image title #2" class="attachment-thumbnail" src="http://image-link.com/2.jpg"></a>
    	<a title="Image title #3" href="http://image-link.com/3.jpg" rel="shadowbox[title]"><img title="Image title #3" alt="Image title #3" class="attachment-thumbnail" src="http://image-link.com/3.jpg"></a>
    	<a title="Image title #3" href="http://image-link.com/4.jpg" rel="shadowbox[title]"><img title="Image title #4" alt="Image title #4" class="attachment-thumbnail" src="http://image-link.com/4.jpg"></a>
    </div>

    And I want to be like this:

    <div class="gallery galleryid-182" id="gallery-1">
    	<a title="Image title #1" href="http://image-link.com/1.jpg" rel="shadowbox[title]"></a>
    	<a title="Image title #2" href="http://image-link.com/2.jpg" rel="shadowbox[title]"></a>
    	<a title="Image title #3" href="http://image-link.com/3.jpg" rel="shadowbox[title]"></a>
    	<a title="Image title #3" href="http://image-link.com/4.jpg" rel="shadowbox[title]"></a>
    </div>

    Someone help me! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove img tag from gallery’ is closed to new replies.