How to add watermark to wordpress media images and then sending them to remote cdn
I’m using wordpress Image Watermark plugin to add watermark to images when uploading. then for moving theme to cdn, i use Hacklog Remote Attachment plugin to move my media images from wordpress upload directory with FTP. but the problem is watermark doesn’t apply when using this FTP plugin. I try coding my own FTP connection with php using wp_get_attachment_metadata filter but it moves images right after uploading to cdn and because of this, watermark does not apply. Does anyone have any way to do this with coding or plugin?