Hello,
I'm using LISE as a replacement to CGBlog. My images aren't appearing when viewing the detail view of the posts but works fine when in summary view. Looking at the url of the images when in detail view, it looks like the url includes the previous path like:
https://www.website.com/blog/uploads/images/image.jpg
On the summary page it displays fine with the correct url:
https://www.website.com/uploads/images/image.jpg
Not sure what is happening here as I've tested on other sites (with the same LISE version) and it works fine. The only difference is that this website is using CMSMS 2.2.18.
Any help is greatly appreciated.
Thanks,
James
LISE Images not showing
Re: LISE Images not showing
Just to add, I don't think its specifically a LISE issue. I've added an image to a page and its doing the same thing, adding the previous paths to the image/file url.
Anyone have the same issue?
Anyone have the same issue?
Re: LISE Images not showing
I guess the urls are relative. So consider adding {root_url}/ to the image url in the template
Re: LISE Images not showing
Hi Velden,
Thanks for your suggestion, it works though the images aren't on the template. They're added via the WYSIWYG which makes adding the "{root_url}/" a bit cumbersome for users. Is there any setting either on the config file or htaccess that can fix it? I've only experienced this on CMSMS 2.2.18 which is odd.
Thanks,
James
Thanks for your suggestion, it works though the images aren't on the template. They're added via the WYSIWYG which makes adding the "{root_url}/" a bit cumbersome for users. Is there any setting either on the config file or htaccess that can fix it? I've only experienced this on CMSMS 2.2.18 which is odd.
Thanks,
James
Re: LISE Images not showing
Check the {metadata} tag's help (showbase parameter)
Or add the base meta tag yourself.
https://www.w3schools.com/tags/tag_base.asp
From my (outdated) experience it may influence anchor links (#whatever). So check afterwards if you're using those.
Or add the base meta tag yourself.
https://www.w3schools.com/tags/tag_base.asp
From my (outdated) experience it may influence anchor links (#whatever). So check afterwards if you're using those.
Re: LISE Images not showing
Hi all,
I've managed to sort it, I didn't realise that I was missing the {metadata} tag from my template. I've added it and everything works as intended.
Thanks,
James
I've managed to sort it, I didn't realise that I was missing the {metadata} tag from my template. I've added it and everything works as intended.
Thanks,
James