No Code Attached Yet J4 Media Manager
avatar PhilETaylor
PhilETaylor
31 May 2020

Steps to reproduce the issue

Edit the filesystem plugin in Joomla 4.0.0 b1

Expected result

The ability to specify sub folders that are not folders on the root as the places I want to store images

E.g:

  • /images/migrated_images
  • /images/client_provided
  • /user_uploaded/someotherapp/imagesfolder/omg/photos

Actual result

You can only select a top level folder from the root of the site

Screenshot 2020-05-31 at 16 55 07

avatar PhilETaylor PhilETaylor - open - 31 May 2020
avatar joomla-cms-bot joomla-cms-bot - change - 31 May 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 May 2020
avatar PhilETaylor PhilETaylor - change - 31 May 2020
Title
[4.0b1] Impossible to select multiple subfolders of the images folder in filesystem plugin
[4.0b1] Impossible to select subfolders of the images folder in filesystem plugin
avatar PhilETaylor PhilETaylor - edited - 31 May 2020
avatar HLeithner HLeithner - change - 1 Jun 2020
Labels Added: J4 Media Manager
avatar HLeithner HLeithner - labeled - 1 Jun 2020
avatar brianteeman
brianteeman - comment - 19 Jun 2020

Please see #29719

avatar Quy Quy - change - 20 Jun 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-06-20 00:08:22
Closed_By Quy
avatar Quy Quy - close - 20 Jun 2020
avatar brianteeman
brianteeman - comment - 20 Jun 2020

Please re-open as #29719 is now closed as not good enough

avatar infograf768
infograf768 - comment - 20 Jun 2020

@PhilETaylor
Although it was closed. I think the solution is #29719 (comment)

Please post there your opinion.

avatar infograf768
infograf768 - comment - 20 Jun 2020

I made a PR which is not exactly doing what @PhilETaylor requires, but is easy to modify to avoid the overload by the other one:
#29721

avatar PhilETaylor
PhilETaylor - comment - 20 Jun 2020

The filesystem plugins are meant to be the DEFINITIVE PLACE that the Media Manager can use to access media.

The "local" filesystem folders select and thus should be the DEFINITIVE folders that user-selectable media can reside in locally. Not everyone will want to use /media or /images and so any folder within the local web-accessible file-system should be selectable. (It would also be nice for folders to be subject to ACL too, but that's not implemented either)

The plugin approach improves security and to allow additional plugins for media (e.g loading from dropbox/AmazonS3)

However, the Joomla project (JSST Team) has already rejected correctly implementing this to ensure that all places in Joomla ONLY use the media plugins /facepalm/ and therefore the whole concept is now null and void and its "just another half baked idea" only implemented in "some places" and not others.

doing what @PhilETaylor requires

Might be lost in translation, but I dont personally "require" anything, I am simply pointing out the current limitation in the current plugin and saying that its not good enough to only have a list of the root folders (most of which have nothing to do with media) and not be able to select any other custom folder within the local filesystem.

avatar PhilETaylor
PhilETaylor - comment - 20 Jun 2020

Hmm I also dont have Github permissions to reopen my own issues now.

avatar infograf768 infograf768 - change - 21 Jun 2020
Status Closed New
Closed_Date 2020-06-20 00:08:22
Closed_By Quy
avatar infograf768 infograf768 - reopen - 21 Jun 2020
avatar infograf768
infograf768 - comment - 21 Jun 2020

I understand the limitations you point to.
Whether it is possible to add this feature and keep also what we have now (anyway should be modified as proposed in #29721 as indeed proposing all core root directories there makes no sense) looks like needing a total refactoring of the plugin and com_media.
I tested by modifying directly in db the possible plugin directories params (for example by using components/mycustommedia) and although the directory exists in Media, it does not display subs nor images.

avatar brianteeman
brianteeman - comment - 21 Jun 2020

It has always been possible to have a folder other than /images as the root folder for the media manager

avatar infograf768
infograf768 - comment - 21 Jun 2020

Yes, in J3.
Have you even tried in J4: it's impossible as it is the plugin which has priority over the Media Options... In J4, only a root folder will be usable.

just do that
Screen Shot 2020-06-21 at 10 10 16

avatar brianteeman
brianteeman - comment - 21 Jun 2020

Yes I know - I raised an issue about those fields being useless now.

avatar infograf768
infograf768 - comment - 21 Jun 2020

J3:

Screen Shot 2020-06-21 at 10 14 28

avatar PhilETaylor PhilETaylor - change - 7 Mar 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-03-07 18:40:00
Closed_By PhilETaylor
Labels Added: No Code Attached Yet
Removed: ?
avatar PhilETaylor PhilETaylor - close - 7 Mar 2022

Add a Comment

Login with GitHub to post a comment