No Code Attached Yet J3 Issue
Related to # 14398
avatar ch2856
ch2856
4 Apr 2017

Steps to reproduce the issue

Not an "issue" but an important usability feature. When ever a user want to end images to an article body, a click on "add image" opens the root to the media directory (images/ or images/stories) so if I want to add 10 images to an article, I need to, again and again, navigate from the root folder to the folder where I uploaded the image (to keep things organized) so for for example, I need to navigate again and again to images/stories/audi/a3/2017/a3-2017..... long process to update an article.

Expected result

As long as the user editing the article, the media popup will be open at the same place where the user last visited. So in my example, if I edit article X and my images for this article are at images/A/B/C I will always be back to the same folder as along as I edit this article.

Actual result

System information (as much as possible)

3.6.5

Additional comments

avatar ch2856 ch2856 - open - 4 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2017
Category com_media com_media Feature Request
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2017
Priority Medium Very low
Status New Confirmed
Rel_Number 0 14398
Relation Type Related to
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Apr 2017

@dgt41 can you please have a look (we talked about in #14398)

avatar dgt41
dgt41 - comment - 4 Apr 2017

@ch2856 you can use: https://github.com/dgt41/imageUploaderHelper and have the custom structure that you need.

avatar dgt41
dgt41 - comment - 4 Apr 2017

@ch2856 discard my last comment, I misunderstood your issue. We can easily implement that. If no PR the coming days ping me back

avatar brianteeman
brianteeman - comment - 21 May 2017

@dgt41 pinging you back as requested

avatar brianteeman
brianteeman - comment - 4 Oct 2017

@dgt41 pinging you again as requested

avatar dgt41
dgt41 - comment - 4 Oct 2017

@brianteeman this is already implemented in J4, in J3 is a bit more difficult to do, I;ll have a look at it this weekend

avatar dgt41
dgt41 - comment - 7 Oct 2017

I was about to do a PR today, the code is quite simple, but I figure out when testing it that there might be a very serious implication since the field could have a predefined path:

directory (mandatory) is the directory from which the user will be able to choose a file. This attribute should be relative to the top level /images/ folder.

So the question is in case such an option is defined what should be the expected behaviour:

  • keep the original folder (disregard any user selection)
  • override the path and set the one in session storage
  • check if the session stored path is deeper level from the predefined path and either use it or disregard it
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Nov 2017
Status Confirmed Needs Review
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Nov 2017

Status is set on "Needs Review".

avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar coolcat-creations
coolcat-creations - comment - 19 Dec 2020

Tested in Joomla 4 and it works there

avatar laoneo
laoneo - comment - 24 Jul 2021

I would close this issue as we fixed it in J4 and in J3 we will never do it anyway as it needs a bigger change.

avatar dgrammatiko
dgrammatiko - comment - 9 Nov 2021

This should be closed as the Media Manager keeps the last opened directory

avatar laoneo laoneo - change - 9 Nov 2021
Status Needs Review Closed
Closed_Date 0000-00-00 00:00:00 2021-11-09 12:05:53
Closed_By laoneo
Labels Added: No Code Attached Yet
Removed: ?
avatar laoneo laoneo - close - 9 Nov 2021

Add a Comment

Login with GitHub to post a comment