Using Views 3 (was on RC, now on latest dev), trying to display thumbnails of media files attached to nodes. If I select "Media" as the formatter for the field, it persists in displaying the name of the file as a link above it, and I've yet to figure out how to kill that aside from CSS'ing it away (sloppy). I'm also need to use views "re-write as a link" on the field, however using the default "media" formatter breaks that. It ends up with 2 empty link tags with the correct link, and then a link to the media file on the text (which I don't want), and no link on the thumbnail. However - the thumbnail does display for both images and videos.
I changed the formatter to "Media style:thumb50" (a custom style I created), and it works perfectly for images, however for video it only passes the site root as the image source instead of to a thumbnail image, thus it's a broken image. This happens on both videos uploaded and for the Media:Vimeo plugin sources.
Does that make sense? I'm not sure if this is a bug or just needing a better understanding of the media module with which I have little experience. I simply want a thumbnail displayed, with nothing added (no text, no link), and have it work for both images and video.
Comments
Comment #1
akamaus commentedI'm also trying to figure out how to control the output of the media field. I tried output the field in Views-7.x-3.0-rc1 and rewrite it. I found that replacement patterns listed for my field (named videoasset), namely [field_videoasset-title] and [field_videoasset-data] don't get replaced. Although [field_videoasset-fid] does.
Comment #2
askibinski commentedI got the same thing: a missing file formatter when I created views of type 'File'.
The file:file was a missing piece in file_entity and is available when you apply the patch in #1215712: Add a views field handler for displaying the rendered file
Comment #3
tsvenson commentedClosing due to no activity for a long time. Feel free to reopen with updated info if issue still remains.