WordPress.org

Ready to get started?Download WordPress

Forums

Transparent Image Watermark
[resolved] Lots of warning messages and not watermarked (3 posts)

  1. thommo
    Member
    Posted 11 months ago #

    Hi,

    I just downloaded and installed the plugin and decided to do a trial of uploading an image with the default watermark before attempting anything more adventurous.

    I set the following settings:
    Watermark type = image
    Images sizes = all selected
    Images types = all selected

    The plugin diagnostics report:

    [ Moderator note: Please wrap log data like that in backticks or use the code button. ]

    Plugin Version: 2.3.7
    Server OS: Linux (64 bit)
    Required PHP Version: 5.0+
    Current PHP Version: 5.3.6
    GD Support Enabled!
    FreeType Support Enabled!
    PHP Safe Mode: is disabled!
    PHP allow_url_fopen: is enabled!
    Memory Use: 36.5 / 256M
    Peak Memory Use: 36.6 / 256M
    Server Load Average: 2.94, 3.23, 3.26
    
    I then tried uploading an image (using the drag and drop option) and get the following errors (the image was uploaded but not watermarked):
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    
    Warning: imagecreatefrompng() [function.imagecreatefrompng]: Filename cannot be empty in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 169
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 170
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 171
    
    Warning: Division by zero in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 176
    
    Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/sitename/public_html/foldername/wp-content/plugins/transparent-image-watermark-plugin/transparent-watermark-tools.php on line 185
    521

    I also tried using the "select files" button to upload the image with the same result.

    Any idea what I might be doing wrong?

    Many thanks!

    http://wordpress.org/extend/plugins/transparent-image-watermark-plugin/

  2. MyWebsiteAdvisor
    Member
    Plugin Author

    Posted 11 months ago #

    It sounds like you may have neglected to save the image watermark settings, the error indicates that there is no image url specified.

    Does the watermark preview correctly display the watermark?

    Thank You!

  3. thommo
    Member
    Posted 11 months ago #

    You're right! :-)

    I wasn't changing the watermark as I just wanted to try it out with the default settings but clicking the "save changes" button obviously did some magic and it now works!

    Many thanks for the quick and effective response!!

    Ian

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.