Hey,
So, I was reading the documentation here about linking images when using custom pages. By the doc's instruction, I've placed my images here:
/opt/gluu/jetty/oxauth/custom/static/img/[HERE]
And referenced in my login.xhtml located here:
/opt/gluu/jetty/oxauth/custom/pages/login.xhtml
I'm referencing them as such:
<img alt="Logo" src="/oxauth/ext/resources/img/RadarLogo.png" />
This is what the docs say to do, and I'm getting a 404 every time I try to load this image. What am I doing wrong? Thanks!!
Josh N.
Hey,
Use
<img alt="Logo" src="ext/resources/img/RadarLogo.png" />
Hey Thomas,
I've changed it to this now:
<img alt="Logo" src="ext/resources/img/RadarLogo.png" />
<img alt="LogoText" src="ext/resources/img/RadarText.png" />
And am still getting 404's :(
https://{hostname}.com/oxauth/ext/resources/img/RadarLogo.png 404 (Not Found)
https://{hostname}.com/oxauth/ext/resources/img/RadarText.png 404 (Not Found)
Hey Thomas,
The only thing in /opt/gluu/jetty/oxauth/webapps and /opt/gluu/jetty/identity/webapps is oxauth.war and identity.war, respectively. Also, if there were these files in those directories, what would I copy them to?
I restarted the services regardless, and nothing has changed. I'm not sure what I'm supposed to do.
Josh N.
I added these files as attachment in my last post. use them and place them in corresponding directory.
Oh! Sorry, I didn't see that there were attachments on your post. This worked! Thanks!