I though that the Views | Fields section, would show an Imagefield thumbnail option if used with an Imagecache preset to create thumbnails. Unfortunately it doesn't, and I can't figure out how others have done this. eg. the tutorial "Photo galleries with Views Attach.

I have a "photo" content type (with CCK upload imagefield called "picture") which I want to display as a gallery of thumbnails attached to an "artist" content type. In Views, in defining the gallery view, CCK Imagefield is showing as an optional field "Content: Upload Picture image (field_picture)". But no thumbnail (or other) options. The tutorial above has an Field option "Content: Image thumbnail linked to node", but I don't see this, or anything similar.

I'm running Drupal 6.20, CCK 6.x-2.9 with ImageField 6.x-3.9, Views 6.x-2.12 with Views attach 6.x-2.2, ImageCache 6.x-2.0-beta10, ImageAPI 6.x-1.9 (GD2 enabled). ImageCache seems to be working, as I can configure my photo nodes to optionally display thumbs and even link via Lightbox.

Comments

quicksketch’s picture

When you add the "Content: Upload Picture image (field_picture)" field, you should have the option to select which formatter you want to use, including any thumbnail options. Of course thumbnail options are only shown if you've set up some thumbnail sized under admin/build/imagecache, perhaps that's what's missing?

iantresman’s picture

Status: Active » Closed (fixed)

Yes! That was it. So obvious when you know how. Thank you!

Just to be crystal clear for others, In Views | Fields, after selecting the "Content: Upload Picture image (field_picture)" field and clicking Add, the next page at the bottom in the section "Format" has all the Imagechache and lightbox options, including:

  • Path to file
  • URL to file
  • thumb image
  • thumb image linked to node
  • thumb image linked to image
  • thumb file path
  • thumb URL
  • Image
  • Image linked to node
  • Image linked to file
  • Lightbox2: original->thumb
  • Lightbox2: original->thumb compact
  • Lightbox2: thumb->original
  • Lightbox2: thumb->original compact
  • Lightbox2: link->thumb
  • Lightbox2: thumb->thumb
  • Lightbox2: thumb->thumb compact
  • Lightbox2 slideshow: original->thumb
  • Lightbox2 slideshow: original->thumb compact
  • Lightbox2 slideshow: thumb->original
  • Lightbox2 slideshow: thumb->original compact
  • Lightbox2 slideshow: link->thumb
  • Lightbox2 slideshow: thumb->thumb
  • Lightbox2 slideshow: thumb->thumb compact
  • Lightbox2 iframe: original->node page
  • Lightbox2 iframe: link->node page
  • Lightbox2 iframe: thumb->node page
  • Lightbox2 iframe