Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Drupal 7 Media

You're reading from   Drupal 7 Media Integrate, implement, and extend rich media resources such as images, videos, and audio on your Drupal 7 website with this book and ebook

Arrow left icon
Product type Paperback
Published in Jul 2013
Publisher Packt
ISBN-13 9781849516082
Length 260 pages
Edition 3rd Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Liran Tal Liran Tal
Author Profile Icon Liran Tal
Liran Tal
Arrow right icon
View More author details
Toc

Image galleries


With image galleries as site builders, we would like to enable our users to create sets of images which are grouped together and can be viewed in a streamlined manner. There are many ways to present image galleries and many ways exist to approach the technical requirement. One example would be to reuse our knowledge of the Views module. To do it, we might need to create a new content type called Picture Gallery, or maybe a better name would be Albums (if that sounds familiar, it's because that's how the big social network players are calling it). For this content type, we will probably add fields such as title, description, dates for when these pictures were taken as well as location field for where the pictures were taken, and finally, an image field for file uploads which allows for unlimited instances of this field. Once we have the content type structure defined, we can create a new view to represent a grid view display of content nodes of this type. Further customization...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime