Jump to content
  • Status: Duplicate

In v5.0.9 (previously reported in 5.0.8)

Using the generated resource tag after adding an image such as:

{resource="custom/moonlight-night-horror-full-moon-703553-2000.webp" app="core" location="front"}

in the AdminCP > Theme Settings CSS template:

background-image: url( '{resource="custom/moonlight-night-horror-full-moon-703553-2000.webp" app="core" location="front"}' );

still outputs as empty tags:

image.png

The workaround of using the front end Custom CSS still works.

User Feedback

Recommended Comments

Marc

Invision Community Team

I repoened that bug report

Marc

Invision Community Team

Changed Status to Duplicate

The Old Man

Clients
(edited)

Thanks for the prompt action on this to save waiting another month or so, but I applied the patch, cleared the cache in Support section, cleared browser cache but it didn't fix it. Background image URLs are still empty.

image.png

Edited by The Old Man

Esther E.

Invision Community Team
On 6/27/2025 at 8:07 AM, The Old Man said:

Thanks for the prompt action on this to save waiting another month or so, but I applied the patch, cleared the cache in Support section, cleared browser cache but it didn't fix it. Background image URLs are still empty.

You will probably have to re-save the theme CSS. The URL is generated on save.

The Old Man

Clients
6 minutes ago, Esther E. said:

You will probably have to re-save the theme CSS. The URL is generated on save.

Hi,

I'm sorry but this just doesn't work. I just tried again, moved my CSS from the front to the AdminCP Theme Settings and it defintely doesn't work. You do have to hit save anyway to get it to store the CSS in the first place. I just tried saving multiple times, the resources are not being parsed on the front end, same as using template logic within the JS template isn't parsed.

Honestly, theming with IC5 has been a stressful and frustrating experience beyond editing colors. Somebody should probably be checking these bug fixes from a QA perspective.

The Old Man

Clients

Sorry for the vent!

I think this is limited to the theme resources, as other values are now making it through whereas in 5.0.8 they weren't:

@keyframes inv_fadeInRight {
  0% {
    opacity: 0;    
	transform: translateX(100%);
  }
  100% {
    opacity: {theme="var.halmac_scroll_up_icon_opacity"};
	transform: translateX(0);
  }
}

The opacity does get parsed:

@keyframes inv_fadeInRight {

0% {

opacity:0;

transform:translateX(100%);

}

100% {

opacity:0.7;

transform:translateX(0);

}

}

Esther E.

Invision Community Team
On 6/30/2025 at 8:57 AM, The Old Man said:

Hi,

I'm sorry but this just doesn't work. I just tried again, moved my CSS from the front to the AdminCP Theme Settings and it defintely doesn't work. You do have to hit save anyway to get it to store the CSS in the first place. I just tried saving multiple times, the resources are not being parsed on the front end, same as using template logic within the JS template isn't parsed.

Honestly, theming with IC5 has been a stressful and frustrating experience beyond editing colors. Somebody should probably be checking these bug fixes from a QA perspective.

We'll re-open the bug.

I'm sorry that it's been so frustrating. Bear with us, we'll get this piece up to par.

The Old Man

Clients

Thanks Esther, that's much appreciated!