Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Browse /media/ or /images/ plugin?

Started by Muut Archive 10 years ago · 1 replies · 646 views
10 years ago

I'm playing around with GRAV for the very first time and I've run into a quirk I can't find a solution for in the documentation. I checked https://getgrav.org/downloads/plugins and github, and I can't find a plugin for it either, but I'm probably not the first one with this problem, so...

My problem:
I store my media (images, pdf, etc) in a separate /media/ directory because I often re-use my media across different pages. No point in uploading the same media twice, right? And because I like to keep my media structured and neat because I tend to have a lot of it, I have divided it into different sub-directories. For example: /media/news/2017-i-am-learning-grav/my-image.png.

But, using the /admin/, the filepicker or the pagemediaselect field type doesn't work unless I give the full path to the images (which would be /media/news/2017-i-am-learning-grav/). This doesn't work for me: you can select an image in the current directory, but doesn't allow you to actually browse your media.

Is there a way to work around this other than working in the 'expert' mode? A plugin not (yet) listed by GRAV, perhaps? Something else?

Thank you for your time.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2548 9 years ago
Archive · by Muut Archive, 9 years ago
2 1675 9 years ago
Archive · by Muut Archive, 9 years ago
2 4960 9 years ago
Archive · by Muut Archive, 9 years ago
1 3787 9 years ago
Archive · by Muut Archive, 9 years ago
3 1791 9 years ago