Umesh Kumar
Forum Replies Created
-
@ideric, I’ve dropped you an email, also commented on Github issue.
Forum: Plugins
In reply to: [WP-Stateless - Google Cloud Storage] WP Stateless & WP Smush@ideric, I’ve dropped you an email, also commented on Github issue.
Forum: Plugins
In reply to: [WP-Stateless - Google Cloud Storage] WP Stateless & WP SmushHey @alimuzzamanalim,
Is there a upcoming release which I can test with Smush? Optimised images aren’t synced to bucket even with the latest version. And I think this would be an issue with all the plugins not just Smush.
Specially if the image is optimised after it is already uploaded to Google Bucket. I happened to debug this and I might have figured out the cause of this.
Do you have any related github issue? I can continue the discussion over there.
Cheers, Umesh
Hey @mr_fanatic,
Do you see any error in browser console? You can use Command+Option+J (Mac) Control+Shift+J ( Windows /Linux ) to open the console in chrome browser.
Check for any errors in console tab, and post it here.
Thanks, Umesh
A thread is already in there: https://www.ads-software.com/support/topic/wp-stateless-wp-smush/
Heya, Spent some time debugging it, it appears WP Stateless plugin might need some changes.
I figured out that the client library they are using doesn’t updates the image if it’s regenerated and already updated on Google Cloud.
I’ll post on their support forums with technical details ( Maybe on github ) so that they can probably figure this out sooner.
is there any possibility of having a feature to convert cmyk images to rgb?
Don’t have any near future plans for it yet, unless we get quite some requests to add it.
Cheers, Umesh
Hey @rymera01,
I’m checking Smush compatibility with WP Stateless and should update you in a while.
Thanks
Hey @gabihrv,
You should be good to upgrade PHP, we do test Smush on 7.2. Apart from that Smush is tested for the regular versions of PHP like 5.6, and for backward compatibility PHP 5.2 as well
Thanks, Umesh
Hey @vegardjorg,
Can you just deactivate all plugins and check? Does media library appears ok if you disable smush?
Thanks, Umesh
Hey @franckw,
Are the uploaded images added to Media Library like the WooCommerce products images? If you could please give me some details about how images are being added.
Thanks, Umesh
Heya @tooltester,
I ran the Pagespeed test for the specified URL, and tried compressing few images further with our updated API ( It’s gonna come out soon ). I was able to get some further savings with lossless compression but not to the level Pagespeed recommends.
Because Pagespeed results shows lossy compression for the images which is premium feature of Smush, so you can probably opt for our 1 month trial and see if that’s helpful for your site. If you find it helpful you can keep the subscription on or you can just cancel it after trial expires.
Thanks, Umesh
Hey @gastronimo,
I’m extremely sorry that I wasn’t able to reply timely.
CREATE TABLE mydb_smush_dir_images ( id mediumint(9) NOT NULL AUTO_INCREMENT, path text NOT NULL, resize varchar(55), lossy varchar(55), error varchar(55) DEFAULT NULL, image_size int(10) unsigned, orig_size int(10) unsigned, file_time int(10) unsigned, last_scan timestamp DEFAULT ‘0000-00-00 00:00:00’, meta text, UNIQUE KEY id (id), UNIQUE KEY path (path(191)), KEY image_size (image_size) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
If you try running this query manually it should work fine for you, and you can install and re-activate Smush.
Thanks, Umesh
@radiocure1, For now you’d need to add this code to one of the plugins, or your theme functions.php. This would fix the issue of text box not appearing.
Also, it’d remove the Smush Now! button or Smush stats displayed on attachment details screen which shouldn’t be much of a issue. If you’re using “Automatically Smush my images on upload” option, images would be optimised by default.
function smush_dequeue_script() { wp_dequeue_script( 'smush-media-view' ); } add_action( 'wp_print_scripts', 'smush_dequeue_script', 100 );
Make sure you remember where you’ve added code, as a proper fix would be included in next smush release, post that you’d need to remove this code.
Let me know, if I could be of any further help.
Thanks, Umesh
@gastronimo, Thanks a lot for your efforts. This is what I’m looking for “1005 – Can’t create table ‘,ysite_mydb_smush_dir_images’ (errno: -1).” Though it’s not the complete error.
Do you have PHPMyAdmin installed, and is accessible to you? Because it reports the proper error, and that way I can figure out what’s up with your site.
You have to login to PHPMyAdmin and you need to select the db for your current website and then in query tab you just copy paste this:
“CREATE TABLE mydb_smush_dir_images (
id mediumint(9) NOT NULL AUTO_INCREMENT,
path text NOT NULL,
resize varchar(55),
lossy varchar(55),
error varchar(55) DEFAULT NULL,
image_size int(10) unsigned,
orig_size int(10) unsigned,
file_time int(10) unsigned,
last_scan timestamp DEFAULT ‘0000-00-00 00:00:00’,
meta text,
UNIQUE KEY id (id),
UNIQUE KEY path (path(191)),
KEY image_size (image_size)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci” and run the query. And please get me a screenshot.Let me know if you need any help doing that, or if it is too much for you?
Thanks, Umesh