[SOLVED] Variable Image not working?

Posted on
Tue Mar 25, 2014 7:22 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

[SOLVED] Variable Image not working?

I have a field in a Control Page that doesn't seem to be responding correctly to the value of a variable. :?

I have set-up three variables in the images/controls/variables folder named 'curtains_status.png', 'curtains_status+closed.png' and 'curtains_status+open.png'. I have defined the field to 'Display Variable Value', selected the variable to be tested which can have a value of 'open' or 'closed' and selected the image in the pull-down as 'curtains_status.png'. It shows correctly in the Control Page editor (indicating it has picked up the image) but when I do a Browser Preview the image is blank.

If I change the variable to '- no value -' the image displays, as it does if I change the value to 'false'. It almost seems like the value of the variable is being ignored. Probably something I am doing but can't see it at the moment.
Last edited by autolog on Tue Mar 25, 2014 8:56 am, edited 1 time in total.

Posted on
Tue Mar 25, 2014 8:45 am
jay (support) offline
Site Admin
User avatar
Posts: 18221
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Variable Image not working?

Your base image isn't named correctly - it should be "curtains_status+.png".

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Mar 25, 2014 8:55 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Variable Image not working?

jay (support) wrote:
Your base image isn't named correctly - it should be "curtains_status+.png".

Oops, thanks :oops:

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests