Linking images in Dropbox for tile icons


I have read posts where people say they’ve used URLs to images in their Dropbox for icons in ST tiles. I can’t get that to work. I go to the image in Dropbox, click share, create a link anyone can view, and paste that link into my device handler. Example:

attributeState “on”, label: ‘${name}’, action: “”, icon: “”, backgroundColor: “#00A0DC

If I use an image hosting site, that link works just fine. So why is the Dropbox link not working?



This caused problems for the Lock Manager SmartApp too recently. I believe Dropbox changed something that basically means you can no longer do this.

(Kurt Sanders) #3

I always use GitHub for my SmartApp icons.

(Andreas A.) #4

Try changing the dl=0 to raw=1


That worked perfectly! Thanks very much for that.