WordPress.org

Ready to get started?Download WordPress

Forums

Easy Watermark
Upload directory (4 posts)

  1. Wightyiw
    Member
    Posted 1 year ago #

    Hi, is it possible to change the directory within the plugin, of which images are loaded into for converting?
    Example, if I have a forum on my site, it uses a different upload directory, so can I direct the watermarker to that directory instead of /wp-content/uploads/?
    Thanks

    http://wordpress.org/extend/plugins/easy-watermark/

  2. szaleq
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    I'm not sure I understand what you mean... This plugin itself can watermark images from WordPress Media Library, you can do it from the wordpress media page and it doesn't matter where the images are (but they must be uploaded with WordPress Media Library). If you wont to watermark images uploaded outside of the WordPress, you can use EasyWatermark class located in %plugin_dir%/lib/EasyWatermark.php and manually write a code using class methods. The code is clean and commented so it should be simple if you know anything about PHP. If you still have any questions, please ask ahead.

    Regards

  3. Wightyiw
    Member
    Posted 1 year ago #

    Hi, sorry, I may not have explained it very well, but it seems you have answered it.
    Yes I want to watermark images that are not uploaded using the wordpress media library, example the forum I use, if users upload images, they will be uploaded to the forums ( forum/files/) folder.
    I dont want to manually watermark images, I would want a plugin to do it automatically, as this would, but using a different directory.
    Im not too familiar with php, but with a little guidance can usually get round problems.
    I would be grateful if you have any ideas/code I can use to make this work?
    Thanks

  4. szaleq
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, I understand. But the problem isn't in the directory but in the forum engine. You need to modify your forum code or write some plugin for it if it's possible... The mensioned EasyWatermark class can be used but all other things which works with wordpress are useless with this forum...
    What's the forum's engine?

    I could write some code for you (as I said it's very easy using the EasyWatermark class) but this code must be plugged somehow into the forum's code, as it is plugged into the wordpress. And there is probably some more work to do with it...

    Regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.