Hello Otto,
i wrote to your email address, but maybe here will be faster.
We have a following problem:
When we upload the image using regular upload in Library the plugin creates images with filters the way we’ve defined based on your guide, but when we do the same thing through the upload in the post the filtered images are not being created. Just the regular ones.
Can you please help us solving this? The website we do for our client is done, but this problem holds them back from working with it.
Thank you,
Veljko
]]>Hi,
since 3.9 images are not being generated by the plugin anymore on my site. Should I downgrade wp or will there be a new version anytime soon?
Regards,
Jonathan
Hello Otto,
i hope that you will find time to reply fast since i need help regarding the quality of images that are created via ImageFX.
I’ve used your instructions to create my own filter through functions.php. Usuall i would use:
imagejpeg($im,’wp-content/uploads/2014/03/house-139×139-red.jpg’,100);
to save the filtered image into the file and define it’s quality to 100.
But your plugin does the image saving so i don’t need this line of code. However the quality of create image is to low for my client so how can i tell the plugin to make 100 quality images?
It would be great to reply to me as soon as you can since i have to finish the project and this is the only thing that’s left to do.
Thank you,
Veljko Simovic
]]>First of all i’d like to thank you for developing this plugin!
It works fine for me, except for one thing: images with extension “.jpeg” are named wrongly by the plugin. For example, if i want to create greyscale versions of my thumbnails (besides the coloured versions), and i add the slug “-bw”, the naming of the files goes like this:
imageA-400×300.jpg -> imageA-400×300-bw.jpg
imageB-400×300.jpeg -> imageB-400×300.-bwjpeg
Apparently the slug is inserted before the last 4 characters of the filename, which doesn’t take into account the “jpeg” extension.
I looked into imagefx.php and saw where this happens. I changed lines 430-431 from this
$newfile = substr( $file, 0, -4 ) . '-' . $slug . substr( $file, -4 );
$info['file'] = substr( $info['file'], 0, -4 ) . '-' . $slug . substr( $info['file'], -4 );
to this
$filename_parts = explode('.', $file);
$extension = array_pop($filename_parts);
$newfile = implode('.', $filename_parts) . '-' . $slug . '.' . $extension;
$filename_parts = explode('.', $info['file']);
$extension = array_pop($filename_parts);
$info['file'] = implode('.', $filename_parts) . '-' . $slug . '.' . $extension;
and now it works fine. (I’m sure my code can be rewritten in a better way, but i don’t know exactly what $file and $info[‘file’] exactly contain.)
Keep up the good work!
]]>If you have issues with the filters not working on uploads in older posts like me, turn off the “Organize my uploads into month- and year- based folders” option under Settings->Media.
]]>Hello,
I am receiving the Warning:
Warning: Invalid argument supplied for foreach() in wp-content\plugins\imagefx\imagefx.php on line 409
When trying to upload media that is not an image such as a PDF or MP3.
I was able to fix this issue by overriding the imagefx_filter function in my theme and adding a return before the foreach if the $meta variable is empty on line 408
if(empty($meta))
return $meta;
]]>
Hi Otto,
I am trying to use ImageFX to create a greyscale thumb of the same size as an existing custom thumb size.
The documentation is not 100% clear on how to use the slug field. I’ve regenerated my thumbs but nothing seems to happen! No new image in the upload dir nor seemingly accessible from the template.
Can you please provide some brief instruction?
Thank you!
]]>not working, no matter which image type I select no filters are applied whatsoever
]]>Is there a way to apply this to individual images (rather than a setting for all of one size)? Or can we create settings for other sizes? (not just standard)? Thanks!
]]>Hello,
It has been some time since there were these posts on Otto’s site about Multisite/mapped-domain and Older Posts.
I see you actively maintain the plugin. Have you given second thoughts of applying these features?
thank you in advance,
marikamitsos
I don’t know if anyone else has encountered this, but my uploaded images are now appearing brighter, rather than greyscale. I rechecked my settings, my filter is still on grayscale.
]]>Hi, this plugin has been a life savor for a client that I’m working with. I have one task that I can’t seem to be able to do. How can I add filters to MORE than just the default “thumbnail”, “medium” and “large” sizes?
I created a few additional image sizes with the “Additional image sizes (zui)” plugin, but can’t seem to be able to add filters to them. Is there another way to do it, so I can?
]]>Hey Otto,
I was testing out your plugin and came across the same issue I have with my code (https://bavotasan.com/2011/create-black-white-thumbnail-wordpress/). It doesn’t work on older posts due to the fact that wp_upload_dir()
only stores the most current uploads folder. So older posts will get a “file not found” error during the imagefilter()
process. Can you think of any solutions?
Thanks.
]]>When i first seen this in my dashboard i thought someone was using Timthumb until i came over and seen the author. Nice effects, works good!
I would like to see something like this get worked into vt_resize.