I have many questions to ask please help.
Thank you
@alpipego
Hello alpipego,
We can’t use the new release 3.2.4 because all pages with images don’t respond after the upgrade.
We saw an increase of queries like these ( more than 150 queries per page) which takes a very long time. After a while, the DB crashes.
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE ?=? AND ( ( wp_postmeta.meta_key = ? AND wp_postmeta.meta_value LIKE ? ) ) AND wp_posts.post_type = ? AND ((wp_posts.post_status = ?)) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT ?
If we downgrade to 3.2.2, we don’t see theses queries.
Any idea ?
Thanks !
]]>For me the thumbnails aren’t being generated at all. I noticed first that there were no thumbnails on the media admin page. I checked the folder itself and there were no images (apart from the original uploaded image). Here’s my setup:
– php version 7.3
– resizefly folder is writeable
– gd is enabled
– wordpress version 5.5
– running locally via wamp
– twenty twenty theme
– latest plugin version (3.2.3)
– no other plugins installed
I’ve also checked by adding an uploaded image to a page, same outcome. The thumbnails just don’t seem to be getting generated at all. I’m not getting any errors.
On further investigation, when I turning on debug I get the following error on image upload (media library – add new):
Warning: A non-numeric value encountered in C:\wamp64\www\WEBSITES\mainwp\wp-content\plugins\resizefly\src\Image\Image.php on line 220
Hi, I noticed for each image size there is an @1
on the end of the url and if I change that to @2
it returns the images twice the size. I would like to use this to make the images look hd just like how retina @2x
works. How could I configure the plugin to use @2
by default? Thank you.
Hey Alex,
that may be a stupid question, but when the plugin ist activated, the responsive image function with srcset and width disappears from the thumnails and even on smaller viewports always the biggest picture is shown.
Am I doing or getting something wrong?
Best regards
David
]]>Great idea, but unfortunately your plugin makes my site really slow and some images are not shown, returning 404.
]]>I would like to write an extension for the resizefly plugin calling the IMG_FILTER_COLORIZE function on the image gd library. I would like the url image-100x-100@1[colorize].jpg to render a colorized version for our project.
Is there any way to extend your work?
]]>When using 100×0 the image will have a width of 100 and a height that maintains the aspect ratio. However, the file does not seem to be written to the resized folder. Only the first call to the url it will do the resizing, the next time it’s the full image.
Can you support this kind of behaviour in the plugin?
]]>Hi there,
This plugin didn’t work inside gutenberg editor for me. I found it didn’t create resizefly urls when creating content with images. On the rendered page it worked. Inside the editor it gave a 404 on images.
I fixed this by adding filters to run() in src/Upload/Filter.php:
// add resizefly url before loaded into gutenberg
add_filter( 'rest_prepare_page', [$this, 'urlInRestResponse'], 10, 1 );
add_filter( 'rest_prepare_post', [$this, 'urlInRestResponse'], 10, 1 );
And creating this function in Filter.php:
/**
* @param WP_REST_Response $res
*
* @return WP_REST_Response
*/
public function urlInRestResponse($res)
{
if (!empty($res->data['content']['raw'])) {
$res->data['content']['raw'] = $this->urlInHtml($res->data['content']['raw']);
}
return $res;
}
Could you merge this or a similar fix?
Thanks,
]]>Hi this sound as an easy and useful plugin to avoid cluttering the uploads folder.
Does it work in conjunction with the WP Retina 2x plugin?
Hello Alex,
We get troubles with some images, and we didn’t find any possible explanations yet.
For example this image is ok :
https://www.cnewyork.net/wp-content/uploads/resizefly/2017/12/tour-gehry-spruce-street-new-york-696×[email protected]
But this image (double) is not well sized. Do you know why?
https://www.cnewyork.net/wp-content/uploads/resizefly/2017/12/tour-gehry-spruce-street-new-york-1392×[email protected]
Another examples :
Good proportions:
https://www.cnewyork.net/wp-content/uploads/resizefly/2014/10/water0-648×[email protected]
Not good proportions:
https://www.cnewyork.net/wp-content/uploads/resizefly/2014/10/water0-324×[email protected]
Any idea? I think it’s since the last update of the plugin.
Thanks!
]]>Hello,
Great plugin, congrats!
Is it safe to use it with a multisite setup? I think it is, because I found resizefly-duplicate directories under upload/sites/2, upload/sites/3 , etc…
But just to be sure, I’m asking here.
Thanks
Hi Alex, thanks for making this plugin! It is a great concept. However I can’t seem to activate it no my local XAMPP setup. I get the following error:
Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/C:\xampp\apps\wordpress\htdocs/wp-content/uploads,/C:\xampp\apps\wordpress\htdocs/wp-content/uploads): The filename, directory name, or volume label syntax is incorrect. (code: 123)' in C:\xampp\apps\wordpress\htdocs\wp-content\plugins\resizefly\src\Upload\Cache.php:175 Stack trace: #0 C:\xampp\apps\wordpress\htdocs\wp-content\plugins\resizefly\src\Upload\Cache.php(175): RecursiveDirectoryIterator->__construct('/C:\\xampp\\apps\\...', 4096) #1 C:\xampp\apps\wordpress\htdocs\wp-content\plugins\resizefly\app\actions\activation.php(15): Alpipego\Resizefly\Upload\Cache->populateOnInstall(Object(Alpipego\Resizefly\Image\Image)) #2 C:\xampp\apps\wordpress\htdocs\wp-content\plugins\resizefly\app\bootstrap.php(76): require_once('C:\\xampp\\apps\\w...') #3 [internal function]: {closure}('') #4 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp-hook.php(286): call_user_func_array(Object(Closure), Array) #5 C:\xampp\app in C:\xampp\apps\wordpress\htdocs\wp-content\plugins\resizefly\src\Upload\Cache.php on line 175
Maybe this is a problem with the plugin? Or it could be a problem with my system.
Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
]]>After the 2.0 update (glad the plugin is still in active development, btw!) Rsizefly produces the following php error:
Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in [xxx]/wp-content/plugins/resizefly/resizefly.php on line 45
I downgraded to 1.3.5 for now.
]]>Does not work on my server with nginx and php7 by EasyEngine https://goo.gl/fgivwK
]]>Hi dear
I am create a folder for store the imags, but always its empty
Its normal?
I am suspect the plugin its not working on my website
Thanks for support
]]>Hi there,
I think about installing a plugin like yours for a while, but I need to know several things. Just take into account that the answers of these questions are mandatory before installing this plugin since I have a plan to ShortPixel (Images Optimizer)
1 – This plugin is probably caching generated image thumbnails. But do they appears in the media library? I’m kinda affraid of using it if so, because I don’t want ShortPixel to automatically optimize these temporary files.
2 – Can we set a time expiration for these cached thumbnails?
3 – I’m using a premium plugin named “Justified Image Grid”, which do the same “On The Fly” treatment than your plugin, but only for the requested grid. My question is : have you already tested the compatibility between this plugin and yours?
Regards.
]]>HI dear
Thanks for the plugin
I am using but how know really its works?
Thanks
]]>