Plugin for image description template?

mjindustry
mjindustry's picture

Joined: 2011-04-27
Posts: 16
Posted: Wed, 2011-04-27 19:57

Just wondering if there is an image description template plugin out there?

Thanks!

 
mjindustry
mjindustry's picture

Joined: 2011-04-27
Posts: 16
Posted: Mon, 2011-05-09 02:41

Maybe not a plugin, but is there a way to pre-fill every description upon gallery creation or maybe default across the whole gallery ? SOme people might think this is weird but I'm just adding a html snippet in every description and will later comeback and add unique desriptions in addition to that snippet.

I can probably just add the html into the photo.tpl page somewhere? Thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2011-05-09 03:00

in photo.tpl look for something similar to:

		{if !empty($theme.item.description)}
		<p class="giDescription">
		  {$theme.item.description|markup}
		</p>
		{/if}

and just add an else:

		{if !empty($theme.item.description)}
		<p class="giDescription">
		  {$theme.item.description|markup}
		</p>
                {else}
                <p>My empty description snippet</p>
		{/if}

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
mjindustry
mjindustry's picture

Joined: 2011-04-27
Posts: 16
Posted: Mon, 2011-05-09 05:17

Tried like crazy. I can just add to each item, no biggie.