0

this is my pyro cms code.

{{ images }}
  {{ if default == 1 }}
      <div><img src='{{ src }}'/>
  {{ endif }}
{{ /images }}

this condition is not working when i try to print default value.

{{ images }}
    {{ default }}
{{ images }}

i have two images in array. and output is return.

0 1

in array already have a default value 1. but condition is not working.

please help where i made mistake.

thank you.

Renish Khunt
  • 5,620
  • 18
  • 55
  • 92

0 Answers0