?
avatar PascalNetenvie
PascalNetenvie
19 Oct 2020

Steps to reproduce the issue

Create a new "files" folder at root, then create an "images" sub-folder in it, then create a "test" sub-folder in it.
Result should be : website_root/files/images/test
Change images path in media manager parameters to : files/images

Setup a new custom field, select "images list" type and try to choose test from folder parameter in first tab.

Expected result

We should see "test" folder in list.

Actual result

We get "website_root/images" content in list.

System information (as much as possible)

Joomla 3.9.22.
Linux Debian 9.

Additional comments

avatar PascalNetenvie PascalNetenvie - open - 19 Oct 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Oct 2020
avatar SharkyKZ
SharkyKZ - comment - 19 Oct 2020

Image list field has no relation to Media component.

avatar PascalNetenvie
PascalNetenvie - comment - 20 Oct 2020

Sorry but it have ...
2020-10-20_02-26-33

avatar SharkyKZ
SharkyKZ - comment - 20 Oct 2020

The description is wrong.

avatar PascalNetenvie
PascalNetenvie - comment - 20 Oct 2020

Ok but if we are logic it should be like this ...
Almost all extensions or function that need to get an image look for this parameter's value ...
Whatever i fixed this problem with symbolic link on server but it should be more easy ...

avatar SharkyKZ
SharkyKZ - comment - 20 Oct 2020

See PR #31170 for correcting the string.

I don't see why we're forcing this to be a subdirectory in images folder. Would make sense to allow other directories. But this should not be tied to com_media in any way.

avatar PascalNetenvie
PascalNetenvie - comment - 20 Oct 2020

Ok for the string correction.
But why this should not be tied to com_media in any way ?

avatar jiweigert
jiweigert - comment - 20 Oct 2020

I guess simply because someone could use a different media(-manager),but still would have to use part of its configuration (image path)?
Having a string(-list) in either configuration.php (or db-like) of image-dirs would help to create a array of dirs for public images..


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31162.
avatar PascalNetenvie
PascalNetenvie - comment - 20 Oct 2020

Ok i understand the idea but as the only one place to configure media root and images path are in com_media,
why not rely on it ??

avatar PascalNetenvie
PascalNetenvie - comment - 20 Oct 2020

Or there should be a path parameter in field ...

avatar infograf768 infograf768 - change - 26 Oct 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-10-26 07:58:13
Closed_By infograf768
avatar infograf768 infograf768 - close - 26 Oct 2020
avatar infograf768
infograf768 - comment - 26 Oct 2020

@SharkyKZ
I guess the filesystem plugin and adapter could be used in J4 to allow the paths proposed for this plugin.
Hard work or possible?

Add a Comment

Login with GitHub to post a comment