Experiencing a 401 Unauthorized Error During Update?
If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here(
onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.
No bug images optimization problem
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
1/ Oops, I just did a test with pagespeed.web.dev/report?url=https%3A%2F%2Fcochanger.eu%2F&form_factor=desktop
on a new site that I have just communicated.
I notice that the images remain in their original format with the weight of more than one mo on the blog or the article (ex.: cochanger.eu/site-web/annuaire-carte-lieu/solicycle) :-(
I thought I had taken the right values from the extension configuration. I forced to yes: "Force (Re)Create Cache".
No result. It is possible to force the regeneration of optimized image?
2/ very different images
On these community sites, people can put images of very different sizes between 125 px cochanger.eu/site-web/outil/en-10-minute...-agir-des-maintenant or up to a maximum of 800px (above I truncate the stored image)
Would you have a trick so that the small images are not distorted on the blog part?
See also the images, if you have tips to optimize this site with your plugin
Last image, after setting "Force (Re)Create Cache"=not
Regards
- Ruud van Lent
- Offline
- Berichten: 1624
- Ontvangen bedankjes 107
1. on the page provided, ochResponsiveImages is not handling te image, can you turn on debug in advanced settings and see if there is a reason in the log file for the plugin as to why not?
2. I do not see distorted images, I see same as 1. ochRI is not handling the image.
As for recreating the optimized images: when you set in advanced to force recreate, the it will create the images on every page visit: this should only be used temporarily e.g. when you changed the image while keeping the same file name.
When you want to recreate the optimized images, you can just delete all files in the ochri directory. The images will then be recreated on first visit.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
I have activated the debug mode and browsed the site, but I can't find where the log file is?
1/ The /ochri/ directory is full of images.
I renamed /ochri/ to /ochriEX/ and browse the site, there are no images created.
I create the empty /ochri/ directory and I browse the site, there is no creation of images.
I can give access to the site if necessary.
Regards
- Ruud van Lent
- Offline
- Berichten: 1624
- Ontvangen bedankjes 107
the log file is in the sites log directory, normally that would be (if not configured differently) ./administrator/logs
When no images are created in the ochri directory is a sign that the plugin is not triggered (correctly) on the pages.
If you can mail me the credentials i can have a look.
regards,
Ruud.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
1/ thank you for this resolution.
After deactivating the other plugin, it works
I hope he will modify his plugin.
Do you have any other suggestions to optimize your plugin settings?
2/ The 150px image is enlarged on the blog page cochanger.eu/ (vs cochanger.eu/site-web/outil/en-10-minute...-agir-des-maintenant) , which makes the image look bad next to the other images which are reduced.
Regards
- Ruud van Lent
- Offline
- Berichten: 1624
- Ontvangen bedankjes 107
Nope, no other suggestionsDo you have any other suggestions to optimize your plugin settings?
that image is NOT handled by the plugin as it is below the minimum size you configured. So this is a template issue and should be fixed there2/ The 150px image is enlarged on the blog page cochanger.eu/ (vs cochanger.eu/site-web/outil/en-10-minute...-agir-des-maintenant) , which makes the image look bad next to the other images which are reduced.
Would it be possible for the plugin to only touch the image below a certain value on a blog page?Code:<img ... width="150" height="150" loading="lazy" data-path=.. >
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
1/ Thanks to your intervention. Thank you
2/ I'm trying to find a way to apply a style based on the size of the image on a CSS forum, but it seems to be difficult or impossible.
Would you have an idea? If it is not possible with css, is it detectable in php?
Regards
- Ruud van Lent
- Offline
- Berichten: 1624
- Ontvangen bedankjes 107
I would not try to solve this server side using PHP, the image width / heigth is passed in the <img> element and can be read / handled by JavaScript. But that would be a last resort only when you cannot find an acceptable CSS solution