Prepare a folder in /images with many hi-res images, I used one with 1184 images with circa 2000x1500 px. Size 438MB
Just login to administrator of a Joomla 3.8.x site with permissions to manage media
administrator/index.php?option=com_media
and navigate to the folder mentioned
List of image thumbs in that folder
The result it's OK, I've just some observations in Additional comments
section
You need a folder with many hi-res images.
I used one folder with 1184 images with circa 2000x1500 px. Size 438MB
This is not really a bug, just something to be aware.
All images in that folder are downloaded to show the thumbnails, In this case it took forever and 400MB.
I know this could be avoided by each item having his own images folder.
However, this is a real site, and the clients don't have the kind of knowledge we do and are usually difficult to predict.
It's my/our job to don't let situations like this occur. I can find a workaround in my end but this should be addressed in the com_media component.
I don't really have the answer but I'll leave some ideas:
This is my first time posting, Hope I'm not doing it wrong.
Keep up the good work guys.
Joel
Title |
|
Title |
|
Speedy reply. :)
Well, I hope it could be useful to have in mind when coding in the reworked media manager
.
Thanks for your attention
Status | New | ⇒ | Discussion |
Labels |
Added:
J3 Issue
|
Status | Discussion | ⇒ | Information Required |
@Milglius & @franz-wohlkoenig , are you asking me to contribute my own code to the Joomla project?
If so , I'll think about a solution in the weekend and let you know.
@mbabker @joelsan can you provide code for pull request for joomla 3.9,2 to stuff a lazy loading script into the media manager and media field?
@joelsan can you please answer?
is there a contribution to test this code?
Status | Information Required | ⇒ | New |
Build | master | ⇒ | 4.0-dev |
Thank you for raising this issue.
Joomla 3 is now in security only mode with no further bug fixes or new features.
As this issue doesn't relate to Joomla 4 it will now been closed.
If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-23 13:45:14 |
Closed_By | ⇒ | zero-24 | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
TBH I think the best we might be able to do in the context of 3.x is stuff a lazy loading script into the media manager and media field so the penalty of those large folders is less extreme. With us starting to stabilize 3.x for LTS and 4.0 coming up (including a reworked media manager), I personally wouldn't suggest putting a lot of time and effort into large changes in the current system.