<![CDATA[ Preconfigured watermarks and TV Gallery Item - My Forums]]> https://forums.modx.com/thread/?thread=50558 <![CDATA[Re: Preconfigured watermarks and TV Gallery Item]]> https://forums.modx.com/thread/50558/preconfigured-watermarks-and-tv-gallery-item#dis-post-295998
core/components/gallery/elements/tv/output/galleryitem.php

line 69
$value = '<img src="'.$url.'" alt="'.$data['gal_description'].'" title="'.$data['gal_name'].'" class="'.$data['gal_class'].'" />';
]]>
Aramaki Jul 26, 2010, 07:55 AM https://forums.modx.com/thread/50558/preconfigured-watermarks-and-tv-gallery-item#dis-post-295998
<![CDATA[Preconfigured watermarks and TV Gallery Item]]> https://forums.modx.com/thread/50558/preconfigured-watermarks-and-tv-gallery-item#dis-post-295997
After reading documentation I didn’t completely understand how do I make watermarks showing on every thumb and large image.

By now I only could do it for one galleryItem and I need it for all my gallery items.

I guess I can configure it with phpthumb itself but didn’t find such option in assets/components/phpthumb/phpThumb.config.php

As docs http://phpthumb.sourceforge.net/demo/docs/phpthumb.readme.txt says there is wanted option "wmt" (WaterMarkText) but where should I put it and how exactly?

I did it by appending it here

[[!+galitem.image:notempty=`
<a href="[[+galitem.image]]"><img class="[[+galitem.imgCls]]" src="[[+galitem.image]]&fltr[]=wmt|example.com|5|BR|ffffff|||5|||100|0" alt="[[*pagetitle]] [[+galitem.name]]" /></a>
`]]


Is there any other way?

Also I didn’t find where to edit GalleryItem TV template sad]]>
Aramaki Jul 26, 2010, 07:15 AM https://forums.modx.com/thread/50558/preconfigured-watermarks-and-tv-gallery-item#dis-post-295997