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
- Topic Author
- Offline
Less
More
- Posts: 54
- Thank you received: 1
2 years 3 months ago #2079
by Tim Davis
This image not being resized was created by 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
Please Log in to join the conversation.
- Ruud van Lent
- Offline
Less
More
- Posts: 1640
- Thank you received: 107
2 years 3 months ago #2080
by Ruud van Lent
Replied by Ruud van Lent on 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)
Please Log in to join the conversation.
- Ruud van Lent
- Offline
Less
More
- Posts: 1640
- Thank you received: 107
2 years 3 months ago #2081
by Ruud van Lent
Replied by Ruud van Lent on 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
Please Log in to join the conversation.
- Tim Davis
- Topic Author
- Offline
Less
More
- Posts: 54
- Thank you received: 1
2 years 3 months ago #2084
by Tim Davis
Replied by Tim Davis on 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.
Please Log in to join the conversation.
- Ruud van Lent
- Offline
Less
More
- Posts: 1640
- Thank you received: 107
2 years 3 months ago #2098
by Ruud van Lent
Replied by Ruud van Lent on 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
Please Log in to join the conversation.