custom image shows always filename+true.png

Posted on
Tue Jul 28, 2015 1:42 pm
Nine offline
Posts: 78
Joined: Feb 15, 2015
Location: Zurich, Switzerland

custom image shows always filename+true.png

Hi all

My variable XYZ can be "home" or "away". I do have the images "presence+.png" (for away) and "presence+home.png" (for home). But on my CP Indigo alway tries to render an image called "presence+true.png" -- no matter what the variable value really is....

Without the image presence+true.png there is no image and an error in the log: undefined page requested ....

Other variables with true|false are working correctly with custom images. Could this be the bug mentioned on http://wiki.indigodomo.com/doku.php?id=cp_custom_images (no. 3)?

Any ideas?

Simon

Posted on
Tue Jul 28, 2015 3:49 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: custom image shows always filename+true.png

Copy presence+.png to presence+away.png


Sent from my iPhone using Tapatalk

Posted on
Tue Jul 28, 2015 6:07 pm
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: custom image shows always filename+true.png

That's my thinking as well. Try:

Presence+.png
Presence+away.png
Presence+home.png

Dave

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest