Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
May your rolls be merry + bright! 🎄
Create a free account

D&D_OED Background Image Broken

1676094872

Edited 1676094996
Daniel C.
Sheet Author
I maintain a set of rules called OED (Original Edition Delta), an offshoot of Original D&amp;D. A fan created a Roll20 sheet for it (and I'm very thankful). This uses the legacy format: <a href="https://github.com/Roll20/roll20-character-sheets/tree/master/D%26D_OED" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/tree/master/D%26D_OED</a> Unfortunately, the background image has been broken for some time. In the CSS the following line appears: background-image: url(" <a href="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/D&amp;D_OED/images/border-600-866.png" rel="nofollow">https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/D&amp;D_OED/images/border-600-866.png</a> "); This is a legitimate URL with the right image at that location, but in Roll20 this appears as a broken image. Here are some things I've tried: - Load that URL in a standard web browser; image is correctly accessible at that location. (So, the URL seems fine.) - Copy the background image to a local server of my own; image can then be loaded &amp; appears on the Roll20 sheet. (So, the image file seems fine.) - Swap in URLs for images from other Roll20 projects; the requested image does appear on our sheet in Roll20. (So, the CSS is use seems fine.) - Exchange the attribute "background-image" for "background"; this makes no difference. - Swap the URL ampersand for hex code "%26"; this makes no difference. Can anyone suggest a fix for this broken background image?
Hmm, it kind of looks like the ampersand initially used in the Github folder name may have become a no-go for the Roll20 system at some point, as per these comments that the 1E AD&amp;D folders had to be renamed for the same issue: <a href="https://wiki.roll20.net/Image_use_in_character_sheets#Published_Sheets" rel="nofollow">https://wiki.roll20.net/Image_use_in_character_sheets#Published_Sheets</a> <a href="https://github.com/Roll20/roll20-character-sheets/pull/6158" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/pull/6158</a> Is that likely the problem?
I notice the BECMI sheet also has an ampersand in the folder name, with images on Github, called by the CSS. Weirdly this works on the public Roll20 site, but the images are broken (like mine) if I test that code in the Sheet Sandbox: <a href="https://github.com/Roll20/roll20-character-sheets/tree/master/D%26D_BECM" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/tree/master/D%26D_BECM</a> I wonder how that is managing to work on the public Roll20, when it fails in the sandbox?
1676154566

Edited 1676154591
Daniel C.
Sheet Author
I do notice the D&amp;D_BECM sheet is non-legacy, while the D&amp;D_OED sheet is legacy format. Testing in Sheet Sandbox shows that (e.g., with the BECMI sheet code) toggling the JSON from legacy to not determines whether the image link is broken or not. I submitted a bug report on this -- not sure if any maintenance is done now on the legacy formatting code. If there are any other tips I'd appreciate it.