Re: Adding Class To Existing Module - Water mark on image up
Posted: Thu Jan 09, 2014 9:15 pm
Use the module CGSmartImage from the Development forge. Or install via your module manager.
Then, you can set a watermark option by sending all images from the gallery to a CGSmartImage tag inside of your Gallery template.
So, something like this as an example:
Now, when viewing the gallery on the frontend, images will be parsed through cgsimpleimage and contain the watermark.
Then, you can set a watermark option by sending all images from the gallery to a CGSmartImage tag inside of your Gallery template.
So, something like this as an example:
Code: Select all
{CGSmartImage src=$image->file|escape:'url'|replace:'%2F':'/' alt=$image->title filter_resizetofit='1024,768,#000000' silent=1 noresponsive=1 noembed=1 filter_watermark='Your Watermark Here'}