We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14779
    • 256 Posts
    How do I define an ALT tag?

      PM me to find out how you can get a FREE ipad 2!
      • 14779
      • 256 Posts
      OK, I figured out that I need to set up a template chunk, and call the chunk from the MG snippit call.

      My question is how to do a template when I’m using smoothgallery?€
        PM me to find out how you can get a FREE ipad 2!
        • 14779
        • 256 Posts
        I Modified the built in gallerypicturetpl.html and added the ALT tag to the section about SmoothGallery:

        <div class="imageElement">
        	<h3>[+maxigallery.picture.title:htmlent+]</h3>
        	<p>[+maxigallery.picture.descr:htmlent+]</p>
        	<a href="[+maxigallery.picture_link_url+]" title="[+maxigallery.strings.click_to_zoom+]" class="open"></a>
        	<img src="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" alt="[+maxigallery.picture.title:htmlent+]" class="full" />
        	<img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" alt="[+maxigallery.picture.title:htmlent+]" class="thumbnail" />
        	</div>
          PM me to find out how you can get a FREE ipad 2!
          • 7923
          • 4,213 Posts
          Yes, that’s the correct place.. or you could do a custom galleryPictureTpl


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."