Hi, I have many files in a directory, most of them are pdf or xls files with long names (i can hear you, no way to make them shorter), th problem is that th widget only have a thumbnail view with truncated names, it's very hard to select the right file in this case because there is no preview, only the name to recognize them.
Is there an add a list view to the widget?
Thanks,
yom

CommentFileSizeAuthor
#3 Screenshot 1:8:13 11:35 AM.png30.78 KBarthurf
#3 views_list.diff6.63 KBarthurf
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ParisLiakos’s picture

Version: 7.x-2.0-unstable6 » 7.x-2.x-dev
Status: Active » Closed (duplicate)
DevJoshLopez’s picture

Status: Closed (duplicate) » Active

re-opening this issue because it is not a duplicate. this issue refers to the widget when selecting media on a field and not the content page. I too would like to know how to make the library tab in the field widget to display a list instead of thumbnails.

arthurf’s picture

Attached is an extremely rough patch for this. I basically copied the current thumbnail code and created an outline for the list code. Ideally this patch would provide a setting for the media browser view which is list or thumbnail. Secondly as you can see from the screenshot it needs some formatting help. Outside of that it does work for me. This may serve as a starting point for this functionality.
Rough list view

DevJoshLopez’s picture

thanks arthurf! What would be really nice is to have the library tab in your image be like the library page where a user can toggle list and grid view.

Chris Matthews’s picture

Assigned: yom » Unassigned
Issue summary: View changes
Status: Active » Closed (outdated)

Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team