ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Using category_image along with entries

October 13, 2010 12:00pm

Subscribe [3]
  • #1 / Oct 13, 2010 12:00pm

    Argyll

    67 posts

    Have a basic query using

    {exp:weblog:entries weblog="products" status="Featured Item" limit="6"}
    {category_image}
    {title}
    {/exp:weblog:entries}

    I was hoping that the category image would work like this, but it doesn’t. I wanted the appropriate category image to be displayed with each item.

    Is there a workaround?

  • #2 / Oct 13, 2010 4:56pm

    Ingmar

    29245 posts

    Just use

    {categories}{category_image}{/categories}

    Does that work?

  • #3 / Oct 13, 2010 5:06pm

    Argyll

    67 posts

    It does! Thanks.

  • #4 / Oct 13, 2010 11:38pm

    Sue Crocker

    26054 posts

    Glad Ingmar was able to help. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases