appchan-x icon indicating copy to clipboard operation
appchan-x copied to clipboard

mascots unable to use local picture links

Open yarrmateys opened this issue 8 years ago • 5 comments

considering the custom made ones are likely going to remain on the user's pc, would it be possible to make the script use a local link like file:///D:/mascots/mascot.png or similar, or is this a browser limitation of some sort that those don't work?

yarrmateys avatar Oct 07 '15 06:10 yarrmateys

I'm not exactly sure why local file URIs don't work.

zixaphir avatar Oct 07 '15 15:10 zixaphir

Yeah, browser thing: http://www.websina.com/bugzero/kb/browser-file-url.html

zixaphir avatar Oct 07 '15 15:10 zixaphir

Perhaps a home server could host the images, if you really want to keep the traffic local. I put all mine up on imgur and don't worry about it.

CharAznableLoNZ avatar Nov 04 '15 02:11 CharAznableLoNZ

yeah, i mostly wanted to use that for testing, but i guess i can use dropbox for that.

yarrmateys avatar Nov 12 '15 16:11 yarrmateys

You could also use data URIs. http://bran.name/dump/data-uri-generator/

ccd0 avatar Nov 12 '15 16:11 ccd0