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.

if empty

October 08, 2014 9:33am

Subscribe [1]
  • #1 / Oct 08, 2014 9:33am

    Eervi

    21 posts

    I´ve been away too long. I just can´t remember if empty.

    So if I don´t have have a photo lets say on {photo_two} how I do the if .... ?

    {exp:img_resize src="{photo_one}” width=“300” height=”” alt=“Surf”}

      {photo_one_text}


      {exp:img_resize src="{photo_two}” width=“300” height=”” alt=“Surf”}


      {photo_two_text}

    {/exp:channel:entries}

    -lm-

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

ExpressionEngine News!

#eecms, #events, #releases