Drupal6 photo gallery thickbox effect
Follow the above link to build a photo gallery in drupal 5.
I have used the same in drupal 6, there is a little difference some extra modules but easy to use.
Modules required
imagecache – needs imageapi (Enable imageapi GD2)
imagefield – needs filefield
views (Grid layout is used which is present in the core of views2 / drupal 6 but in drupal 5 we have to use “views bonus pack” module)
Create presets in imagecache ->1st preset thumbnail (eg 50 x 50) and 2nd preset display (450 x 450)
Create content type “image” -> add cck field “image”
Create view -> page -> url “gallery” -> view type “bonus – grid view” -> select “custom pagers” -> noder per page “24″
add fields “node title” and “image” -> “image” field option “thickbox:thumbnail”
Custom filter “node type = image” and “node published =yes”.
Create node “create content” ->”image” (enter all the images you have)
Now view the view “gallery” created www.mywebsite.com/gallery (where mywebsite is the domain of your website). Click on the images the photo gallery should be working. Use stylesheets for further theming of the gallery page.
Note if next previous navigation of the photo gallery is not working go to admin->site configuration ->thickbox
select “per page gallery” under imageĀ field options (cck) where “image field” is the cck field created for the content type image.