Create a folder in the root of your site and add some images.
In the filesystem plugin add this in addition to the images directory.
Open an article for editing and select an intro image from this new folder. Save the article.
Click on the select button to change the intro image.
The Change Image modal is confused - it shows a non-existent folder under images called the same as the new folder you created and a an error message:
Error
File or Folder not found.
The modal should show the folders as they exist, and the modal should open by showing the current image.
Error message and incorrect path and folder.
Joomla! 4.0.0-beta3-dev
Apache/2.4.34 (Unix) LibreSSL/2.5.5 PHP/7.3.8
The filesystem plugin is one thing, the media field and media manager are other things. As far as I know, the media manager and media (or images?) field (which is used to get the images modal) are restricted to the "images" folder and folders below it.
Adding folders to the filesystem plugin may be good for other purpose, but it might be intended that these folders can't be used for images.
Someone who has more knowledge than me about how it is intended to work should confirm or correct me.
But it seems that if it is intended, then the issue is that we need better handling of that. The folder should not be available in this case for media/images, and there should not be shown a not existing sub-folder with that folder's name.
Labels |
Added:
No Code Attached Yet
bug
Removed: ? |
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30662.