How do I display a picture?

How to display picture from field near every blog entry

  • When I go into mywebsite/blog I have blog entries displayed. What I want to do, is display a picture uploaded to every blog entry left to the entries displayed on this page. How can I achieve this? Is there some code to display uploaded picture in page--blog.tpl.php? I also would like to NOT display picture when someone actually click and goes to some single blog entry.

  • Answer:

    You should be able to do this with standard field visibility. Add an image field to your blog type. Then click on display fields, you can have it displaying for teaser view, and hidden in the full view.

smogg at Drupal Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.