Hi,
I’ve been using your plugin in some projects but since 4.4 it stopped working fine. This is related to the new srcset feature, because if I completely remove it, the plugin works fine again.
Also, is it possible that the plugin doesn’t work fine when loading an image through ACF plugin instead using the_post_thumbnail function? I need to use it in an image that is not a post featured image. Even if I try to load the image with the “-gray” string added, I can’t print anything.
Hope you can update the plugin or tell me if you have any ideas about this problems to try to keep it alive.
Thanks in advance!
]]>After upload I get an error, however the chose size via ‘grayscale_add_image_size(‘box’, 424, 240, true, true); // grayscale’
creates an image on server (animal-wallpaper-424×240-gray.jpg)
this is the error message
“An error occurred in the upload. Please try again later.”
It resizes the image, but it doesn’t grayscale the image.
]]>Hi there,
The plugin works excellent. But I have encountered an issue. When I load a png image with a transparent background, it doesn’t compile the image like it should. It makes the background black.
I tried debugin it, but without any succes. Maybe it is a known bug for you and you are already working on a solution.
]]>Hi there,
The plugin works excellent. But I have encountered an issue. When I load a png image with a transparent background, it doesn’t compile the image like it should. It makes the background black.
I tried debugin it, but without any succes. Maybe it is a known bug for you and you are already working on a solution.
]]>Hi there,
The plugin works excellent. But I have encountered an issue. When I load a png image with a transparent background, it doesn’t compile the image like it should. It makes the background black.
I tried debugin it, but without any succes. Maybe it is a known bug for you and you are already working on a solution.
]]>Hi there,
your plugin looks very promising! I just have encountered one issue using it: Everything works fine with the generation of the grayscaled files in the uploads folder, but when I try to fetch the filtered image in my theme, it doen’t give me back the desired file. The suffix “-gray” is missing in the path.
I’m using the function wp_get_attachment_image_src($id, "my_grayscale_image_size")
Maybe it has something to do with how you are saving the image metadata on line 79 in grayscale.php? Unfortunately, I don’t know how to debug this script, since it runs in ajax…
]]>The plugin throws an error if an SVG is uploaded.
]]>when I upload a image the plugin display an error like:
Notice: Undefined property: Grayscale_Image_Editor::$image in/home/site/public_html/wp-includes/class-wp-image-editor-gd.php on line 83
Notice: Undefined property: Grayscale_Image_Editor::$image in /home/site/public_html/wp-includes/class-wp-image-editor-gd.php on line 83
Notice: Undefined property: Grayscale_Image_Editor::$image in /home/site/public_html/wp-includes/class-wp-image-editor-gd.php on line 83
Notice: Undefined property: Grayscale_Image_Editor::$image in /home/site/public_html/wp-includes/class-wp-image-editor-gd.php on line 83
Notice: Undefined property: Grayscale_Image_Editor::$image in /home/site/public_html/wp-includes/class-wp-image-editor-gd.php on line 83
454
is a plugin error or server?
]]>I have no idea how to work with this plugin, can someone explain it step by step what to do?
Thanks in advance.
]]>Hi
How to cheng this source code:
jQuery('.lay1 .post .imgwrap').css({'opacity':'0.4'});
jQuery('.lay1 .post ').hover(function(){
jQuery(this).find('.imgwrap').stop().animate({'opacity':'1'}, 300);
}, function(){
jQuery(this).find('.imgwrap').stop().animate({'opacity':'0.4'}, 300);
});
I starting to modify one of wordpress thems, and this is part of file wich is responsible for animation, you can see it at TRITON them by towfiq https://www.towfiqi.com (js/triton.js)
]]>Hey there!
Love the plugin – integrated it into my project to get a jquery based fade to grayscale. Totally Sweet!
For my purposes, though, your scaler param (of .7?) in the function call “imagegammacorrect” on line 63 was a little too intense. The picture was of people outside and the high contrast made them look too sinister!! ??
I upped it to 1.2 and it looks great. Was wondering if you could include an option or WP filter to adjust the effect.
Thanks man!
]]>The syntax in the docs is wrong. It should be:
grayscale_add_image_size('custom_size', xxx, yyy, crop, 'grayscale')
(with quotes around grayscale)
It worked on my local machine, but failed when I put it live. Hopefully this will help someone else out…
Excellent plugin otherwise, though. Kudos.
]]>Hi,
I got an error if i upload small png file (less than 5kb), I’ll appreciate for any info,
Thank you
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\xxxxxx\wordpress\wp-content\themes\xxxxxx\functions\grayscale.php on line 84
451