How to link * just * part of a node image image in Drupal 6

I am creating a recipe management system for a cooking website in Drupal, and I have to say that all node / view / template work very well! I have one problem, although this is that I can’t get a view to display the JUST image - it always comes with a header and link to the gallery.

Can someone help me figure out how to refer to an image from a view, displaying only the image without an anchor or anything else?

Customization

  • Installed Image
  • Recipe content type created
  • CCK image field used to output the image to the recipe
  • View created - has the correct image field referenced

You can select the “body” or the teaser in the view settings for the image field, but in fact it is not. I was thinking of trying to overwrite the output of this field, but there is no way to just lay the path to the file that seems to be.

N

+3
source share
2 answers

It looks like you are using the node string style. If you set the line style in the fields, you can simply display the image field.

+3
source

Personally, I use ImageCache for all image manipulations. Then you get many options when editing the display fields of your node type, for example.

  • Display an image with a link to node
  • Display image without link

.. , , !

+2

Source: https://habr.com/ru/post/1716622/


All Articles