I'm building a recipe management system for a cooking website in Drupal, and I have to say the whole node / view / template thing is working very nicely! I've got one problem though and that is that I can't get a view to display JUST an image - it always comes bundled with it's title and a link through to the gallery.
Can anyone help me work out how to reference an image from a view, only displaying the image itself with no linkage or anything else?
Setup
Can select "body" or teaser on the view options for the image field, but neither is correct really. I thought about trying to re-write the output of that field, but there is no way of just passing along the file path it seems.
H
It sounds like you're using the node row style. If you set the row style to fields , you should be able to just display the image field.
Personally I use ImageCache for all image manipulations. Then you get a lot of options when you edit the Display Fields of your node type, eg
etc etc. Very useful, but it might confuse things further to have another image-based module doing things!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.