I have 2 sections that require multiple images per node:
-Portfolio
-Blog

For Portfolio

Each item in the portfolio has multiple images. Each image has 4 generated sizes (using imagecache module): large, main, teaser, thumbnail.
-Large will be displayed when an "enlarge" link is clicked in the project node
-Main will be displayed in the project node (View Example)
-Teaser will be displayed in the section page
-Thumbnail will be displayed next to "main" in the project node (View Example)

QUESTIONS:
1) How do I just display ONE teaser image for the section page? Currently it displays ALL teaser images. (View Example)
2) How do I enable a "Previous" and "Next" button to navigate between thumbnails. (An easy AJAX solution would be awesome, but will take anything.) (View Example)

For Blog

Each blog entry has OPTIONAL images. If an image is attached, it contains a caption in the adjacent box. If NO image is attached, there should be NO CAPTION BOX.

QUESTIONS:
1) How do I show the caption box if there is an image, but hide if there is not?

Comments

laken’s picture

subscribing...

finedesign’s picture

I also need to mention that I have tried the contemplate module. Unfortunately with my meager level of php I am unable to to customize the layout accordingly. If someone has some sample code to share it would be greatly appreciated.

horizens’s picture

I would love a solution like this as well. I've been using the same setup with cck, views, and imagecache and am stuck at a very similar spot.

Also, I'm looking for an AJAX solution for administering the images with drag and drop reordering. I would KILL for that.

steveoliver’s picture

"...AJAX solution for administering the images with drag and drop reordering"

This has got to be done!!

artatac’s picture

subscribing...

robotjox’s picture

subscribing

Kayla’s picture

subscribing...

mlncn’s picture

First off, what finedesign is looking for seems mostly a matter of custom theming of various node.tpl.php files such as node-blog.tpl.php. I don't quite understand the specific needs in the Portfolio section, that is, how it's currently being displayed and so what a solution has to incorporate.

However, if people are looking for a way to simply use imagecache presets in views to do some of this sort of thing without coding custom theme files, this is the first thing that Agaric needs and can do that I've seen so many people want.

So, Agaric Design Collective will accept or give $50 for a solution allowing a user to expose imagecache presets to views.

Just wrote about this over on Lullabot and as soon as the comment is approved, I'll link to it from here.

~ben

Agaric Design Collective :: http://AgaricDesign.com/ :: Open Source Web Development
People Who Give a Damn :: http://pwgd.org/ :: Building the infrastructure of a network for everyone

benjamin, Agaric

mlncn’s picture

So doesn't look like there'll be much interest in this. Custom theming on grid view commenceth....

Thanks to Nate of Lullabot's comment (below mine).

~ben

People Who Give a Damn :: http://pwgd.org/ :: Building the infrastructure of a network for everyone
Agaric Design Collective :: http://AgaricDesign.com/ :: Open Source Web Development

benjamin, Agaric

nvoyageur’s picture

I was searching for a way to only display the first image of a multiple imagefield in the Views Grid. There is a posting on Ubercart's website that solves this, pretty easily too.

http://www.ubercart.org/contrib/1205

Basically.

1. Set the image to "do not group multiples"
2. Filter on "Node:distinct"

Presto! Only one image in the Grid view.

Shane
BWCA