Replies: 3 comments 2 replies
-
You are aware that there is a scheduled task available that will automatically resize images? |
Beta Was this translation helpful? Give feedback.
-
The "images" and "files" is just a folder name. They (their names) can be any. Ideally there should be no hard linking to specific one. What you asking is configuration per folder. This part need to be handled by file system plugin ("Filesystem - Local" plugin) not in global configuration. There already some options like "image resizing". |
Beta Was this translation helpful? Give feedback.
-
@Fedik, thank you as well for your fast response. You are right: they are just names. I am a fan of KISS too, but I also like flexibility. I think I did not formulate my request/idea correctly and I made assumptions. I apologise for that. I should have just explained my use case. I saw the "Media Action - Resize" plugin, but that just resizes all uploaded media image files to fit the configured dimensions. For this project I adjusted the global media component settings (Global configuration > media) to restrict the file size. These apply to all managed media items. The project requires different image dimensions, which could be forced by the built-in task that @brianteeman mentioned. It also requires different kind of files, such as PDF files. Max file size per root folder would enable users to upload the PDF files as well since they are larger. However if it is not possible to set restrictions on file/mime types per folder, users could (ab)use the PDF folder and upload images there. It would indeed be useful to have these kind of settings per (root/sub-) folder. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working with Joomla since 2015 and I especially like the stuff that is built-in already to make it easy to customise web sites without breaking upgrades and too much dependencies on third party extensions for basic stuff. 👏🏼
I also like the idea of the new "files" media folder. However I feel that it lacks customisation. In the involved Github issues I read that splitting the media folder into two folders was just a first step. Let me start the discussion to expand the functionality.
Suggestion
I would like to suggest to split up the media component configuration so the restrictions/settings for images are different than for other files. I can imagine that there are lots of other scenarios that are kind alike. Bringing those together might help creating the exact requirements that are needed to start development.
Use cases
Blog/news images are restricted in size for site performance because, sadly, users do not follow rules that are not forced :-). However documents and videos are often larger in size and there is no way to upload them using the UI because of the configured maximum file size for all media files. The same goes for other settings since one might want the images folder to accept only image file/mime types.
Notes
I am aware that it is always possible to create/use (third party) extensions to get things done. However I feel extending the configuration for media items should be part of the Joomla media component and would benefit the community.
Beta Was this translation helpful? Give feedback.
All reactions