开发者

Drupal 6: display image with View in blog posts listing page

开发者 https://www.devze.com 2023-01-01 23:44 出处:网络
I\'m new at Drupal, love it so far :) I added Photo and Logo File field to blog entry with CCK. I need to display these images at blog post listing page. So at View Module, I added fields as below;

I'm new at Drupal, love it so far :)

I added Photo and Logo File field to blog entry with CCK. I need to display these images at blog post listing page. So at View Module, I added fields as below;

At View:

Content: Logo URL t开发者_JS百科o file

Content: Photo Path to file

and it displays only names of files, but I need to display image. how can I make it with View Module?

Blog Listing Page:

Logo: http://blabla.com/drupal/sites/default/files/Logo_0.jpeg

Photo: sites/default/files/photoname_0.jpeg

Appreciate helps!!!! Thanks a lot!


In views in adding field select field like: "Content: Image (field_image)", then in Format: Image, Image to linked node etc.

Recommend also install imagecache module for appropriate resizing image.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号