J4 Issue ? ?
avatar ot2sen
ot2sen
20 Feb 2019

For the current J3 and former series, the users haven´t had a "better practice" guide, to help them act in their own best interest when populating their media folder(s).

This feature request is based upon once again seeing a site with a gigantic amount of media files in the root of the /images folder. This last case of volunteer work showed approximately 1400 images in the root of /images, which means it takes ages to load and eat up system resources. Yes, they should have used fewer images and made use of strategic use of subfolders, but they didn´t and didn´t know it would be smarter.

Suggestion: Set a default folder size of the /images folder and each of its subfolders, to help users do a better practice. The default could be set at installation based on the optimal settings and system resources available at the users web hosting.
At each upload of a new image, a check would then be in place to verify that ex. countSize of folder was within limits, or else it would suggest user create a new subfolder in order to keep the fastest and best user experience when adding images to their site.

Without such a limit people tend to use a practice that is not in their own best interest. We could help them, and thereby us in ensuring the image handling always stays fast and easy to deal with.

avatar ot2sen ot2sen - open - 20 Feb 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Feb 2019
avatar infograf768
infograf768 - comment - 21 Feb 2019

Looked on the web. No idea how to define a folder limit size via php.

avatar dneukirchen
dneukirchen - comment - 21 Feb 2019

we should not limit the folder size... users should be able to upload as many media files as they want...

instead we should paginate the requests so that the load time is acceptable.
on server side we need to implement paginated responses.
on client we need to implement infinite scroll or show a pager.

avatar brianteeman
brianteeman - comment - 21 Feb 2019

That's a much better solution and also one that doesn't break backwards compatibility on a site that already has "too many" images in the one folder

avatar ot2sen
ot2sen - comment - 21 Feb 2019

Pagination sounds good too, agree. Would also bring life back to those having used less good practice for years.

avatar Milglius
Milglius - comment - 26 Feb 2019

That's a much better solution #23261 combined with @dneukirchen proposal its the best

we should not limit the folder size... users should be able to upload as many media files as they want...

instead we should paginate the requests so that the load time is acceptable.
on server side we need to implement paginated responses.
on client we need to implement infinite scroll or show a pager.

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Mar 2019
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Mar 2019

@ot2sen can this Issue be closed?

avatar brianteeman
brianteeman - comment - 3 Mar 2019

no - this is a valid feature request

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Mar 2019

@brianteeman thanks for Info.

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Mar 2019
Status Information Required Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 4 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2019
Title
[4.0]Feature request: Limit folder size in media manager
[4.0] Feature request: Limit folder size in media manager
avatar franz-wohlkoenig franz-wohlkoenig - edited - 4 Apr 2019
avatar Quy Quy - change - 15 Jan 2020
Labels Added: ?
avatar Quy Quy - labeled - 15 Jan 2020
avatar rdeutz rdeutz - change - 18 Dec 2020
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2020-12-18 10:27:29
Closed_By rdeutz
avatar rdeutz rdeutz - close - 18 Dec 2020

Add a Comment

Login with GitHub to post a comment