Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #57328
    heathermojelski
    Participant

    When I try and add a watermark via the media library I get the following error:
    You are not allowed to perform this action.

    I am the only user on my site and I am the administrator. I cannot see an obvious place to change this.

    #57329
    Bartosz
    Keymaster

    Can you share the screenshot of your IW settings page?

    #57330
    ScarlettR8
    Participant

    Same problem. One site user/administrator. No way to upload screenshot here.

    Error message: ‘You are not allowed to perform this action.’

    New installation of Image Watermark, WordPress 6.9

    #57332
    Bartosz
    Keymaster

    By default, watermarking is disabled to ensure that a watermark is not applied without your explicit decision.
    To enable it, you need to:

    – Turn on at least the Manual Watermark option
    – Set Apply Watermark To to Everywhere (recommended)
    – Define a watermark, either as an image or as text

    Once these settings are in place, you should be able to apply the watermark. Have you already completed all of these steps?

    #57333
    marcaufderheyde
    Participant

    Hi there,

    I can confirm I am having the exist same issue with all images in my media library.

    My settings are as follows:

    – Image Processor: GD Library

    – Automatic Watermarking: ON

    – Manual Watermarking: ON

    – Front-end Watermarking: ON

    – Image Sizes: ON for all available checkboxes (1536×1536 2048×2048 full large medium medium_large thumbnail woocommerce_gallery_thumbnail woocommerce_single woocommerce_thumbnail)

    – Apply Watermark To: Everywhere

    Please let me know what I can do to help you debug this issue and get the plugin working again!

    From the status page also:

    Plugin version: Image Watermark 2.0.5
    PHP version: PHP 8.3.30
    GD Library: Available
    ImageMagick: Not available
    Active engine: GD Library
    Backup folder: Ready and writable.

    Thanks in advance,
    Marc

    #57335
    crizcat
    Participant

    I’m also facing similar problems.

    Error message: ‘You are not allowed to perform this action.’

    Similar settings to @marcaufderheyde. Also the only admin.

    Thanks in advance.

    #57337
    Bartosz
    Keymaster

    Do you see any feedback, warning anything in the brwoser console? Have you re-saved the settings as recommended?

    #57338
    marcaufderheyde
    Participant

    I can confirm that there is nothing logged in the browser console. Apply watermark results in: You are not allowed to perform this action.

    Interestingly, Remove Watermark, results in: Watermark removed.

    However, this is a false positive as there is no watermark to remove in the first place.

    Re-saving the settings as recommended changed nothing. I am not seeing a watermark on any media, nor can I add a watermark over the toggle buttons.

    I am happy to continue debugging this in any way that assists you to fix this for me and other users. Please contact me if you need additional information.

    Can also confirm this issue does not seem to be browser dependent, have tested Chrome and Brave Browser (both Chromium)

    #57339
    Bartosz
    Keymaster

    We’ve just released version 2.0.6.

    It may resolve the issue you’re experiencing. If not, it provides much more detailed debugging information in both the browser console and the debug.log file. Hopefully this helps!

    #57340
    marcaufderheyde
    Participant

    Hi there, thanks for being so active regarding this issue, I really appreciate it!

    The issue is persisting but I’m getting a new error message, instead of “You are not allowed to perform this action.
    “: “Please select a valid watermark image before applying.

    Here are the values from the Status Tab in Watermark Settings:

    Plugin version: Image Watermark 2.0.6
    PHP version: PHP 8.3.30
    GD Library: Available
    ImageMagick: Not available
    Active engine: GD Library
    Backup folder: Ready and writable.

    I have not altered any of the settings which I posted above.

    The console does not show any additional logs!

    What else can I try to get this working? Any other information you need to debug this?

    #57341
    Bartosz
    Keymaster

    That message is thrown by the manual apply AJAX handler when it checks the saved watermark image option.

    So the reason could be an invalid watermark image attachment ID when:

    – no watermark image selected or the selection wasn’t saved on the settings page.
    – the selected watermark image was deleted, trashed, or is no longer a valid Media Library attachment.
    – the selected file is not an image (or not an allowed type like JPEG/PNG/WebP/GIF).

    What is your watermark type? Is it image or text?

    #57361
    marcaufderheyde
    Participant

    Hey there, again thanks for the swift reply!!

    My watermark type is text! Could this be the issue?

    The settings shows that it is stored, and shows the preview in the options.

    I can’t paste a screenshot here but underneath the preview:

    Original text size: 267 x 18 px

    Preview uses a 600 x 400 px stage and mirrors your size, alignment and offset settings.

    #57362
    marcaufderheyde
    Participant

    Hi there,

    I can confirm that at least for me this seems to be an issue with text based watermarks. I have generated an image of the text I intended to use, and am able to apply this to images now.

    EDIT: Unfortunately I spoke too soon, the issue is not resolved. It generates a preview of the watermark, but does not persist it upon reloading the media dashboard. Additionally the watermark does not show up on the live site.

    Hope this helps you debug further, let me know if I can provide any further information for you to figure out why text is not working.

    Thanks for all your help.

    FIX, IF YOU ARE EXPERIENCING THIS ISSUE: Use Image watermarks until the issue is resolved.

    Fix is not working…

    #57363
    marcaufderheyde
    Participant

    Update,

    I fiddled around some more with the image watermark. Neither the apply watermark or remove watermark buttons are working to persist the state of the image with the watermark.

    What does work is uploading a new image and having the watermark apply automatically. This has been the only way I have been able to apply a watermark so far. However, this watermark cannot be removed, effectively forcing either all images to have a watermark, or none.

    Hope this additional information helps. Please let me know if you need any further information from me or my setup.

    Thanks in advance.

    #57364
    Bartosz
    Keymaster

    Got you.

    We’ve made another round of improvements to help you identify the issue by giving more feedback whenever something is not working. Please use this 2.0.7-beta version from here:
    https://www.dropbox.com/scl/fi/90x6gg8z7g7xtb3kl0mcn/image-watermark-2.0.7-beta.zip?rlkey=szdbmrnd9y9i2itrq6pyg2nuv&dl=0

    After installing try to do what you did previously – use text and image watermark, use automatic (during image upload) and manual watermarking. Check the debug.log file for any Image Watermark related entries.

    And share your findings please.

    #57365
    marcaufderheyde
    Participant

    Hi there,

    I installed the beta version of the plugin and played around with adding watermarks automatically, and through the apply buttons, for both image and text based watermarks.

    I can confirm that it still is only the automatically added image (not text) watermark that is working. This cannot be removed or reapplied to existing uploads either. I have been able to get a preview for the text based watermarks, the “Please select a valid watermark image before applying.” is not being shown anymore for any of my usages.

    This might be a stupid question, but where do I access the debug.log? I have looked in the plugin editor for the plugin, but cannot find such a file. The console log is also not showing any errors!

    If you help me find the debug.log file, I’ll update its entirety here. If you want me to try out any other usages as well, happy to do so!

    Thanks in advance and again thanks for all your help!

    EDIT: just tested out bulk applying watermarks, this has the same issue. Preview shows that it has been added, but opening an individual image will not show the watermark, and after refreshing the changes are not persisted, all bulk applied disappear.

    #57366
    marcaufderheyde
    Participant

    Hi there,

    I had to enable debug mode, I now have access to the debug.log.

    Here is a summary of the logs:

    — Image Watermark Action Logs —
    [29-Jan-2026 13:24:24 UTC] Image Watermark: Action=removewatermark, PostID=292, ManualEnabled=yes, WatermarkURL=288
    [29-Jan-2026 13:24:42 UTC] Image Watermark: Action=applywatermark, PostID=72, ManualEnabled=yes, WatermarkURL=288
    [29-Jan-2026 13:27:32 UTC] Image Watermark: Action=applywatermark, PostID=73, ManualEnabled=yes, WatermarkURL=288
    [29-Jan-2026 13:27:35 UTC] Image Watermark: Action=applywatermark, PostID=72, ManualEnabled=yes, WatermarkURL=288
    [29-Jan-2026 13:27:37 UTC] Image Watermark: Action=applywatermark, PostID=71, ManualEnabled=yes, WatermarkURL=288

    — Recurring PHP Warning —
    [29-Jan-2026 13:24:43 UTC] PHP Deprecated: Implicit conversion from float 19.05 to int loses precision in /…/plugins/image-watermark/includes/class-upload-handler.php on line 849

    — Potential Environment Conflicts —
    The log is receiving constant PHP Notices from ‘ionos-performance’ and ‘woocommerce’ domains regarding ‘_load_textdomain_just_in_time’ being called too early.

    I will provide the full log here: https://sharetext.io/i6dg1h4i

    Please let me know what else I can do to help you further.

    I am not not managing to get any watermarks, even after automatically adding them to newly uploaded images. Or scratch that, every now and then it works, but not consistently.

    #57367
    Bartosz
    Keymaster

    @marcaufderheyde create a new thread here, then reply to is using “Set as private reply”, providing temporary admin access to your site.

    #57368
    marcaufderheyde
    Participant
    This reply has been marked as private.
    #57369
    marcaufderheyde
    Participant

    I replied privately, please confirm when you have received the login link

    #57370
    Bartosz
    Keymaster

    @marcaufderheyde we have checked manual/automatic/list style/grid style/single post upload/remove/apply and everything worked without any issues or notices :)

    #57371
    marcaufderheyde
    Participant

    Hey there!

    OK, then maybe I’m just being really stupid! Any tips on correct usage?

    Concrete example: I open an existing image in my media library, feel free to do so with the access. I click apply watermark. It shows the preview. But upon refreshing the page (and accessing the direct link of the media image), the watermark is not shown. Can you not replicate this?

    I am not sure what I’m doing wrong, but this has never worked no matter how I try?

    Thank you for having a direct look!

    #57372
    Bartosz
    Keymaster

    That’s not really the point. You’re definitely not stupid — you actually helped us identify a few issues 🙂

    Images can behave differently depending on the installation environment, optimization tools, and the browser being used. In most cases, they’re cached, so it may take some time before an updated version is served to you.

    IW tries to force a fresh version in the admin preview using cache‑busting, but it doesn’t do that on the frontend or for directly browsed files, to avoid causing other issues.

    One thing you can try when viewing a full‑size image directly, or on one of the site pages: press CTRL + SHIFT + R. That forces a hard reload in most browsers.

    #57373
    marcaufderheyde
    Participant

    So firstly, thank you very much for your kind words!! Really appreciate that, especially in what feel like small brain moments :D

    One thing I didn’t think of is the cache!

    And just one quick test I did, seems you are correct, it’s a gnarly caching issue!!

    Thank you for stepping me through this the whole way, really appreciate your support, and I’m glad if I was able to help you guys out as well! Awesome plugin you’ve built!! <3

    For now, thank you again, and you’re the best!

    Have a great start to your weekend tomorrow!

    #57374
    ScarlettR8
    Participant

    Still not working for me. Text watermark, v2.0.7 installed, purged cache multiple times, GD Library, Manual watermarking, Apply Everywhere.

    Now it appears to apply the watermark in the Edit screen, no ‘not allowed’ error message — but when I click ‘Update’ the watermark disappears and Apply Watermark displays again.

    If I click ‘Apply Watermark’ again, I get the message: “Watermark not applied because the original backup is missing.”

    #57375
    ScarlettR8
    Participant

    Please ignore, has started working. I added the ‘Backup images’ setting.

Viewing 26 posts - 1 through 26 (of 26 total)
  • You must be logged in to reply to this topic.