<div align="center"><img src="styles/default/xenforo/icons/lestweforget.jpg" width="480" height="253" /></div>
Yup that worked, thanks.Try changing that <img src> to use an absolute URL.
If your styles directory lives athttp://yourforum.com/path/to/your/forum/styles, you would use/path/to/your/forum/styles/default/xenforo/icons/lestweforget.jpgas the image source.
Yup that worked, thanks.
Any idea why the other method worked on forum page and not the others?
I guess I'll have to include the full URL in the future for XF2? "styles/default/xenforo/icons/lestweforget.jpg" works fine in XF1.5.xx
Thanks @Mr Lucky for the suggestion, that '/' in front of 'style' workedit would probbaly work with a slash in front of styles ( /styles/default/xenforo/icons/lestweforget.jpg ) so that the path starts at the root.
We no longer hard code the base URL into the page, therefore URLs are always relative to the page you're on, rather than some base URL that we detect. This has been a big improvement behind the scenes as the base URL approach effectively screws up a lot of stuff (or at least makes it more difficult).Yup that worked, thanks.
Any idea why the other method worked on forum page and not the others?
I guess I'll have to include the full URL in the future for XF2? "styles/default/xenforo/icons/lestweforget.jpg" works fine in XF1.5.xx
We use essential cookies to make this site work, and optional cookies to enhance your experience.