Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This page is currently draft!
Inspired by "Show off your Drupal photo gallery!" at http://groups.drupal.org/node/7018
we try here to set up a gallery-site like http://david.koenigsmann.de
- where all images are separated in nodes (one CCK-ImageField per node), sorted/make navigatable with taxonomies and displayed as views-lists.
Then, to archive the nice thumbnail and fading effects, we use imagecache and customize the view-template to work together with JQuery/Galleria-Plugin.
Required modules
- Views
- CCK
- ImageField
- Taxonomy
- Imagecache
- Pathauto
- JQueryUpdate
Content Type
-
New Content Type
- Name: Gallery-Entry
- Type: gal_entry
- Empty "Body field label" to omit body field
- Submit
- Add field
- Name: image
- Field type: Image
-
View
New View
- Name: gallery
- Page
- Provide Page View: selected
- URL: gallery
- View Type: List View
- Use Pager: selected
- Nodes per Page: 13 (i.e.)
- Fields
- Add Field: Image:image(field_image)
- Arguments
- Add Argument: Taxonomy: Term Name, Default: Display All Values
- Save
-
Imagecache
Imagecache-Settings->New Preset
- Note: These settings are not from my example, yours can vary..
- Preset namespace: img_normal
- scale
- Width: 680
- Scale to fit: Inside dimensions
- crop
- Height: 400
- X offset: 0
- Y offset: 0