Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for standard form field type for all media in library #20057

Closed
robbiejackson opened this issue Apr 2, 2018 · 4 comments
Closed

Request for standard form field type for all media in library #20057

robbiejackson opened this issue Apr 2, 2018 · 4 comments

Comments

@robbiejackson
Copy link

robbiejackson commented Apr 2, 2018

Please could we have a Standard Form Field Type which provides modal access to all the files in the media library.

This would be like the current "media" form field type, but wouldn't be restricted to just images.

The new field type should allow filtering, so that you could specify the types of files (eg audio / video) and file extensions (eg zip, gpx) which you would want presented in the modal window.

A personal suggestion would be to extend the current media file type to include 2 other parameters which would control the filtering of what to display:

  • an array of something like mime types (eg "audio/*" for presenting audio files)
  • an array of file extensions

If these parameters weren't set then the functionality could revert to what is presented at the moment, which is like a mime type of image/*

@brianteeman
Copy link
Contributor

That would be awesome if you could submit a PR for it

@Quy
Copy link
Contributor

Quy commented Apr 14, 2018

Please test PR #19967

@joomla-cms-bot
Copy link

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/20057

@ghost
Copy link

ghost commented Apr 14, 2018

closed as having Pull Request #19967.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants