How can I add an image watermark to only those images which are to be published in gallery using a function in functions.php?functions.php
? Images can be in .jpg.jpg
, .png.png
, .gif.gif
format.
I
I also found this snippetfound this snippet which serves the same but it watermarks all the uploaded images.
Any help would be appreciated.
Thanks!