Choosing the Right CBSE School A Comprehensive Guide for Parents
Drupal 7 Media modules
1. Drupal 7 Media Modules (Media, Media Gallery, etc.) Grigory NAUMOVETS Kiev, Ukraine
2.
3.
4.
5.
6.
7.
8.
9.
10. We also have… Content types »… » Manage display New display formatter: Media
11.
12. Configuring file display for each file type admin/config/media/file-types/manage/video/file-display File view modes – ‘Default’, ‘Link’, ‘Preview’, ‘Small’, ‘Large’, ‘Original’, etc.; you need to save settings separately for each mode Display precedence order is important – e.g. when you need to display videos from YouTube, ‘YouTube Video’ display should go before ‘MediaElement Video’ etc.
13.
14.
15.
16. Viewing Media items like nodes /media/[fid] Media item URL [fid] is File ID from ‘file_managed’ table
17.
18. Editing Media items ‘ Title ’ and ‘ Description ’ of items in Media Library are DIFFERENT from ‘ Title ’ and ‘ Alternate text ’ properties of images in Image field and ‘ Description ’ property of files in File field They are NOT shown when displaying images or file attachments in the usual way Modules displaying media should be able to handle media titles and descriptions (e.g. Media Gallery)
19.
20.
21.
22.
23.
24.
25.
26. However, some things are missing… With regular Image widget, we have “ Alternate text ” and “ Title ” that we can display near/over the image
27. What we see with the regular Image widget Image Title displayed in a lightbox view
35. We can have images and videos in the same gallery Media Title displayed on hover These are videos
36.
37. It’s easy to add, reorder, and edit media in the gallery Edit or Remove Reorder items by dragging the handle to a new position Add media with Media File selector
38.
39.
40. Configuring file display settings for Video admin/config/media/file-types/ manage/video/file-display
41.
42.
43.
44.
45. … more than you could expect from a module creating quite a lot of tables in the database