I've been struggling with this for a few hours now and I still haven't found out how to go about doing this. I'm using the fivestar rating module and sorting the top rated items (in this case nodes) from highest to lowest. I have the filter set up to show only published nodes of type image (I havent set up any content types of my own so if that is required please let me know - or direct me to a thread). The problem is that I have no way (that I know of at least) to display the image thumbnails with the rest of the view's content. Right now its showing node title, and the voting results, but I want to also show the thumbnail of the images.
If anyone could offer and assistance on these matters please let me know.
Thanks.
Comments
ImageCache
I think you can do in several ways.
In my case I use a combination of ImageCache (http://drupal.org/project/imagecache) + CCK + ImageField.
do you happen to have a link
do you happen to have a link to a tutorial with the overall process? I tried setting up my own content type and I was able to set it up so I can enable photos but then I have no way of showing the images as thumbnails in the teaser. Perhaps I'm going at this all wrong (this is my guess lol).
.
1. Create the presets you need (thumb, full, what you want) for imagecache
2. The display can be controlled admin/content/node-type/xxx/display (xxx is you content type) -> use the dropdown to controll the display
3. For views: Go to the admn screen of your view and choose under "Fields" your picture field (Content:Picture). Click on it and now you can controll the display in the view.
its still not working..this
its still not working..this is what Im doing:
1. set up imagecache with a thumbnail size and full size
2. content management > content types > add content type >
a. provide a name and type
3. click manage fields
a. add a new filed
b. Type of data to store. - File (not sure if this is correct)
c. Form element to edit the data. - Image (again Im not sure..the only other option is upload)
...beyond this nothing is working
mmmh
The field gets saved? If so there should be a new tab "Display fields". Your field should appear there and you can controll via dropdown the style of display for teaser and full node.
Are you trying this as user 1? Is CCK correctly enabled?
If you look at the "Story" content type -> manage fields -> display fields (tab exists even though there are no fields to control)
yeah the display fields tab
yeah the display fields tab shows as you stated..the problem is that when I create the field with the type of file and image and click the display fields tab the only option that seems to work for both teaser and full node is Image (the imagecache presets show in the dropdown but when I actually select one of them nothing happens when I view the node).
Add the thumb to the content
I was struggeling with the same as you. I generated the extra field and added it to the node (as explained) and hoped that the thumb would appear in the view. After having used an option "default image", I found out that the thumb was not added to the content. So then in the content, I had to upload the image once more using the new upload/Image-field. And then finally the thumbs appeared in the view.
Thanks so much for this thread. It really helped me:)
If you want to stay with the
If you want to stay with the Image module instead of ImageCache + Imagefield + Filefield, you need the dev version of Image to be compatible with views, and be able to select thumbnails. The current dev version of Image works, while the production release doesn't.
Argh
Somehow I thought that you are actually doing it the imagefield way.