Eye-candy gallery with CCK/imagefield, Imagecache, Views, Pathauto and Taxonomy
Last modified: March 4, 2009 - 11:16
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

gorgeous
Everything about this site looks great except for the address bar.
Is there anyway that the urls could be made to be more eligible without too much hand coding.
It looks like there could be some seo issues with the urls looking like that.
thanks for your recipe.
You're right, the address bar
You're right, the address bar is not nice!
But since search engines are browsing without javascript and
css (correct me if i'm wrong) & the ugly part of the url's are generated with js, i think its ok.
If you're working on nicer url's please let me know, maybe we can share some ideas!