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

Thumbnail of selected media in pagemediaselect? #740

Closed
maximelebreton opened this issue Aug 18, 2016 · 5 comments
Closed

Thumbnail of selected media in pagemediaselect? #740

maximelebreton opened this issue Aug 18, 2016 · 5 comments

Comments

@maximelebreton
Copy link

Hi grav team, and thx for the awesome work!

Is that possible to provide a way to display a thumbnail of selected media in pagemediaselect?

Because it's not user friendly:

image

And for the list:

image

Thanks!

@rhukster
Copy link
Member

pagemediaselect is a very specific field that is intended to be used in conjunction with the editor and nowhere else. It looks like you have a custom field that is getting page media as a select field? You can create a custom field that displays thumbnails for each image in the page, but this is not something we have currently.

I can see a 'new' generic imageselect field being something useful, but that should be created as a new issue we can mark as an enhancement for a future development effort.

@rhukster
Copy link
Member

Please open a new issue requesting an image select field. Closing this one to avoid confusion.

@fredrikekelund
Copy link
Contributor

@rhukster isn't pagemedia the field that's meant to be used in conjunction with the editor and nowhere else?

The docs state this about pagemediaselect:

shows a select with all the page media. Used in Pages blueprints to let the user choose a media file to be assigned to a field.

I could open another issue requesting a new type of field, but I think @maximelebreton's suggestion is a good idea (I've encountered this issue myself), and fits nicely in with the pagemediaselect field

@rhukster
Copy link
Member

We're already working on a flexible file/image picker field: #750

@fredrikekelund
Copy link
Contributor

Ah, fantastic!

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

No branches or pull requests

3 participants