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 This image not being resized
- Tim Davis
- Onderwerp Auteur
- Offline
Minder
Meer
- Berichten: 54
- Ontvangen bedankjes 1
2 jaren 2 maanden geleden #2079
door Tim Davis
This image not being resized werd gestart door Tim Davis
I thought you might be interested in seeing a situation where ochRI is not resizing a picture.
This is an image in a slideshowCK slideshow.
j4core.basicjoomla.com/index.php?view=ar...d-in-article&catid=2
This is an image in a slideshowCK slideshow.
j4core.basicjoomla.com/index.php?view=ar...d-in-article&catid=2
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
Minder
Meer
- Berichten: 1624
- Ontvangen bedankjes 107
2 jaren 2 maanden geleden #2080
door Ruud van Lent
Beantwoord door Ruud van Lent in topic This image not being resized
Hi Tim,
ochResponsiveImages runs server side and works with <img> elements that are on the page that is being rendered.
This slide show doesn't use <img> elements but rather uses <div> elements with data attributes pointing to the images.
So there are no images on the page.
The images are 'injected' by JavaScript (camera.min.js) on the page that will read the attributes on the slideshow <div> and replace that client-side with the image.
In your example it is not only loading the thumbnail that is displayed, but it is also loading the full image (that will be displayed when clicked on): a full 5MB.
Although I understand how this works, I think this is a bad practice for e.g. SEO as google only sees HTML elements: so Google sees a page without images where there are actually images displayed. It will also have issues for visitors on low bandwidth and for visitors that have disabled javascript (here this trick will not work)
ochResponsiveImages runs server side and works with <img> elements that are on the page that is being rendered.
This slide show doesn't use <img> elements but rather uses <div> elements with data attributes pointing to the images.
So there are no images on the page.
The images are 'injected' by JavaScript (camera.min.js) on the page that will read the attributes on the slideshow <div> and replace that client-side with the image.
In your example it is not only loading the thumbnail that is displayed, but it is also loading the full image (that will be displayed when clicked on): a full 5MB.
Although I understand how this works, I think this is a bad practice for e.g. SEO as google only sees HTML elements: so Google sees a page without images where there are actually images displayed. It will also have issues for visitors on low bandwidth and for visitors that have disabled javascript (here this trick will not work)
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
Minder
Meer
- Berichten: 1624
- Ontvangen bedankjes 107
2 jaren 2 maanden geleden #2081
door Ruud van Lent
Beantwoord door Ruud van Lent in topic This image not being resized
And as a quick follow up: using this slideshow basically means you are 'trapped' in a vendor lock in as there is no plugin etc that will be able to do anything with this slideshow / its images. The power of Joomla (one of them) is the possibility to change / override / extend / etc. This is not possible here
Graag Inloggen deelnemen aan het gesprek.
- Tim Davis
- Onderwerp Auteur
- Offline
Minder
Meer
- Berichten: 54
- Ontvangen bedankjes 1
2 jaren 2 maanden geleden #2084
door Tim Davis
Beantwoord door Tim Davis in topic This image not being resized
Thanks for the info, Ruud!
BTW, that image in the slide is "redonculously" large because it is one I grabbed off my camera when I was plying with that extension.
BTW, that image in the slide is "redonculously" large because it is one I grabbed off my camera when I was plying with that extension.
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
Minder
Meer
- Berichten: 1624
- Ontvangen bedankjes 107
2 jaren 2 maanden geleden #2098
door Ruud van Lent
Beantwoord door Ruud van Lent in topic This image not being resized
It would have been better if the large image was only used on explicit user action (when he clicks the image): like ochGlightbox does: size of the image can be very huge as it will not be used unless the user clicks it.
Speaking of: This conversation triggered me to create a new module that works with ochGlightbox: with the module you can upload / select / reorder (fully based on the Joomla framework) images with title, description and other slide settings.
This will leverage ochGlightbox from automatic and using an image directory to also adding a gallery via a module and insert that anywhere on your site / in your content.
I currently have this is beta. And ochGlightbox being your 'baby' maybe you want to do a special youtube broadcast on this: Watch me test a beta: make it or break it
Just an idea
Speaking of: This conversation triggered me to create a new module that works with ochGlightbox: with the module you can upload / select / reorder (fully based on the Joomla framework) images with title, description and other slide settings.
This will leverage ochGlightbox from automatic and using an image directory to also adding a gallery via a module and insert that anywhere on your site / in your content.
I currently have this is beta. And ochGlightbox being your 'baby' maybe you want to do a special youtube broadcast on this: Watch me test a beta: make it or break it
Just an idea
Graag Inloggen deelnemen aan het gesprek.