lucamc
Forum Replies Created
-
Forum: Plugins
In reply to: [Imsanity] The manual resize button only appear for adminok, I tried to resolve this by adding the
activate_pluginscapability to the Editor role. This actually works — the resize button becomes visible. However, I don’t consider this an ideal solution, since Editors generally shouldn’t be able to activate plugins. That said, it’s not a huge risk in my case, as long as they don’t also have theedit_pluginscapability (which keeps them from seeing the Plugins page).Still, I’d prefer to grant only the minimum necessary capability. The solution you’re suggesting sounds great to me.
Forum: Plugins
In reply to: [WP-Stateless - Google Cloud Storage] Webp and Shortpixel pluginok
In the meantime I have patched up the “sync_backup_file” function which is on line 266 of the “shortpixel.php” file.
I guess that function was meant to sync Shortpixel’s backup folder. Unfortunately it does not work correctly: the directory structure is not maintained (everything ends up in the root of the bucket) and the files are not even deleted when they are deleted in wordpress.
If you manage to disable that feature in the meantime that “you don’t have the bandwidth to troubleshoot” I would settle for it. This way I could automatically update the plugin without manually disabling the function every time.
Thanks.
Forum: Plugins
In reply to: [WP-Stateless - Google Cloud Storage] Webp and Shortpixel pluginIs this plugin discontinued?
ok, I understand where the problem lies:
– I have bulk restored all backups
– I checked that all webp images have been deleted (ok)
– I have completely disabled WP Stateless
– I restarted the optimization of all images and thumbnails (with the generation of the webp version)
– the webp versions of the images have been correctly generated and at this point only the copy with the .webp extension existed
– I reactivated WP Stateless setting it “backup only”
– the backup copy on google storage has been generated, but the files on the cloud have the extension .jpg.webp ( https://ibb.co/y63qP9T )
– after a few minutes the copy .jpg.webp also appeared on the site server ( https://ibb.co/pPHC426 )A WP Stateless bug? An incompatibility between the 2 plugins?
I looked in the system file on the server, I am attaching a screenshot.
https://ibb.co/zPr4QHNMany images have a dual version .jpg.webp and .webp, while others have only the .webp version
I also installed the WP Stateless plugin to have a backup (non-CDN backup only) of everything on google storage. On the cloud I find only the .jpg.webp image
Should I revert all the optimizations and try to do it all over again?
1) I have created all the Webp files in the last 3 days or so
2) No, but … I have selected the option to transform images from png to jpg in the Short Pixel settings. However, the problem also happens with images that were jpg even at the origin.
3) I didn’t even know that there was the possibility of adding constants, so no.Forum: Plugins
In reply to: [WP-Stateless - Google Cloud Storage] Support for webp and ShortpixelI’m sorry, it’s not an incompatibility between the two plugins. Rather the problem is that replacing the img tag with the picture tag works in a few cases on the website.
While waiting for an answer, I found a temporary solution.
I added the following line in the img-to-picture-webp.php file around line 300 just before “return ‘<picture’ …”
$srcsetWebP = preg_replace('/\.(gif|png|jpg|jpeg)\.webp/', '.webp', $srcsetWebP);This solves the problem for now, the images on the site are all visible.
I have to apologize, I was wrong. The AdRotator plugin has nothing to do, the problem also occurs in other positions not only on ads.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] ssl=1 error 400Do all hosts in europe block you?
This is not “Resolved” at all.
The only solution at the moment is NOT TO USE your cdn service!
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] ssl=1 error 400It is not a satisfactory solution but at the moment it is the ONLY solution.
The images exist on the server because if you remove the parameter “ssl=1” the images appear. So it is clearly an internal server bug. There is no user-side solution in my opinion.
We probably have to insist, the more people report the bug the more chances there are that they decide to do something.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] ssl=1 error 400Only solution is re-upload the broken images or use another CDN.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] ssl=1 error 400Okay, I got one thing.
I just tried to access the image with a VPN (a simple test on hide.me).
Try it yourself.
Select “Germany” = error 400
Select “Netherlands” = error 400
Select “USA” = it works!I am in Italy. It seems that this url (with “&ssl=1”) is not accessible from all over Europe:
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] ssl=1 error 400Lazy loading on or off has nothing to do, I just tried.
It is not a problem related to wordpress or hosting. The url on i2.wp.com that should return the image returns an error 400 instead, that’s the problem.
The “&ssl=1” parameter in the url is the key. It’s not an encoding problem with “&” because if I add “&xxx=1” it works.
It’s not related with my internet connection because I can reproduce the issue with 2 different ADSL provider and with my mobile conn.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] ssl=1 error 400For example, this is the “tag” page: https://sbamcomics.it/blog/tag/new-mutants/
I don’t see the image of the first article (it’s the same linked above). But I see the image of the second one.
The same thing happens in the category archive, in the “search” and of course on the article page. It also happens on the administrator side in the “media” control panel.
I tried to install the “Regenerate thumbnail” plugin. I can see the image if I go to regenerate the miniatures because they are loaded locally. But after having regenerated them, nothing changes, I still don’t see the image on the website pages.
Thanks