Download & Extend

How To: Nodecarousel Images Only (explained)

Project:Nodecarousel
Version:5.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

A lot of people on here are asking how to do a node carousel for images only, so I thought I'd explain how I accomplished it. This can be added to the documentation or referenced here.

You will need to create three new items: A CCK content type for your image (with an imagefield), a view containing your content type, and a carousel.

CCK Content Type - Create a new content type for the images you will want to be in your carousel. The only thing this content type will need is the ability to attach an image (you will need the imagefield module). Make sure that you go to "display fields" when creating the content type and that your imagefield is set to display inline.

View - Create a view that provides a page and contains only the images from the content type you created and nothing else.

Carousel - Create a carousel that pulls from the view that you just created, and set the other settings as needed.

Now upload your images as your new content type. All your images should be the same size.

You will need to edit your nodecarousel.css file in the nodecarousel module folder. Find the headings '.jcarousel-container-horizontal' and '.jcarousel-clip-horizontal' and change the widths to the width of your images. You can also comment out or delete the border here if you don't need it.

The last thing I have yet to figure out is how to make the image reference another node - so when you click on it you can control where it goes. I've added a node reference field to the content type, but can't get it to work as a link when clicking on the image. The other option would be some kind of node-forwarding module that would foward the carousel image nodes to somewhere else.

Comments

#1

"Carousel - Create a carousel that pulls from the view that you just created"
in the configuration page, there is no option to choose view.

#2

That's very true - in the other thread, you stated you were having trouble using nodecarousel in 6.4 - at the time I did that release of the dev of Drupal 6, Views was nowhere near being finished, so I removed that functionality.

When I have time to sit down and go over it, I'll review integration with views.

#3

Hi jcfiala,

Thanks for replying to this.
I am waiting for the more functions for Drupal 6.

#4

Status:active» closed (fixed)

At this time, there is no further action required by this issue. Closing.

nobody click here