Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1749
    Massi
    Participant

    Hello,
    everything works fine on all my pictures, but i’m facing a problem in manually adding the watermark to one peculiar picture, which is a PNG. Can that be the problem?

    Here’s the error i’m getting

    Warning: imagecreatefrompng() [function.imagecreatefrompng]: ‘…./wp-content/uploads/2014/01/wpid-2014-01-09-20.44.18.png’ is not a valid PNG file in …./wp-content/plugins/image-watermark/image-watermark.php on line 1263

    Warning: imagecolorallocatealpha(): supplied argument is not a valid Image resource in …./wp-content/plugins/image-watermark/image-watermark.php on line 1264

    Warning: imagesx(): supplied argument is not a valid Image resource in …./wp-content/plugins/image-watermark/image-watermark.php on line 1265

    Warning: imagesy(): supplied argument is not a valid Image resource in …./wp-content/plugins/image-watermark/image-watermark.php on line 1265

    Warning: imagefilledrectangle(): supplied argument is not a valid Image resource in …./wp-content/plugins/image-watermark/image-watermark.php on line 1265

    Warning: imagecreatefrompng() [function.imagecreatefrompng]: ‘…./wp-content/uploads/2014/01/wpid-2014-01-09-20.44.18-168×300.png’ is not a valid PNG file in …./wp-content/plugins/image-watermark/image-watermark.php on line 1263

    Warning: imagecolorallocatealpha(): supplied argument is not a valid Image resource in …./wp-content/plugins/image-watermark/image-watermark.php on line 1264

    Warning: imagesx(): supplied argument is not a valid Image resource in …./wp-content/plugins/image-watermark/image-watermark.php on line 1265

    Warning: imagesy(): supplied argument is not a valid Image resource in …./wp-content/plugins/image-watermark/image-watermark.php on line 1265

    Warning: imagefilledrectangle(): supplied argument is not a valid Image resource in …./wp-content/plugins/image-watermark/image-watermark.php on line 1265

    Warning: Cannot modify header information – headers already sent by (output started at …./wp-content/plugins/image-watermark/image-watermark.php:1263) in …./wp-includes/pluggable.php on line 896

    #2405
    Massi
    Participant

    I hate to say this but…is there any sort of support here? What am i doing wrong?

    #2406
    Bartosz
    Keymaster

    Hi Massi.

    We hate to hear that too. But believe me, we’re trying to support you as much as we can, despite the fact that this is a free plugin.

    But to the point – did you try to watermark any other png images, 8 bit, 24 bit, with transparency turned on and off? Because the first line says: “is not a valid PNG file”, so I thing the following warnings are the consequences of that first one.

    #2407
    Massi
    Participant

    Thanks a lot for your answer, i will give it a try and surely let you know.

    #2408
    Massi
    Participant

    My first thought was “this plugin doesn’t support PNG” that why i didn’t look further into it, but anyway…i’ve found the problem, although i don’t know where it happens (surely not in your plugin).
    Looks like that adding pictures from WordPress mobile app results in this: sometimes JPG pictures are actually named PNG by WordPress, God knows why…and that’s why your plugin gives that error.

    Again, thank you for your support.

    #2410
    Bartosz
    Keymaster

    Sound like a WordPress bug – good to know.

    Thank you too.

    #2899
    Massi
    Participant

    Hello,
    yesterday there was an update on WordPress mobile application for Android, and now the problem seems to be gone. So it surely was a WP bug…and it seems now solved!

    #2907
    Bartosz
    Keymaster

    Thanks for reporting that.

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