How do I put an image in a view and put that view in a block?

HelpDrupalHelpMe - March 27, 2008 - 15:34

How do I put an image in a view and put that view in a block?

you can use CCK +

timmillwood - March 27, 2008 - 15:40

you can use CCK + Image_Field

Thanks for replying but do

HelpDrupalHelpMe - March 27, 2008 - 15:47

Thanks for replying but do you know what the settings are in Views?

Yes CCK Imagefield would be

nicholasbarcomb - March 27, 2008 - 16:32

Yes CCK Imagefield would be the way to go. In views you can Enable Block and set it to teaser to show a teaser style of the node. You can use list which allows you to use the field section in views to create a custom style. To have just an image show go into the field section and use the drop down menu to choose what elements will go into each instance: ie choosing "images" will result in nodes in this view showing only images. You can use table which allows you to make custom nodes using the field section again but this time it will show up as a table that users can sort. Once you have a style set you'll want to use the Filter section to weed out the nodes you don't want, and the sort criteria section to give an order to your nodes. Once you have your view saved, go to your block section and here she'll be!

Hope this helps,
-Nick

Thanks so much calling the

HelpDrupalHelpMe - March 28, 2008 - 05:54

Thanks so much calling the node type (didn't know it went to that sublevel) did the trick.

 
 

Drupal is a registered trademark of Dries Buytaert.