Page 1 of 1
Problem displaying images after upgrade to 1.94
Posted: Wed Mar 09, 2011 11:28 pm
by pwg
Hi,
I have attempted to upgrade a site to 1.94 and most is ok, but i am having a problem with the correct image path not being specified to images.
I can via TinyMCE, locate an image and load it onto the page. However when published the image path is /index.php/uploads/.. rather than /uploads/..
An example can be see at:
http://www.eventsi.com.au/index.php/image-mesh-screens
Any ideas how to fix this?
Thanks for any help.
Cheers,
Paul
Re: Problem displaying images after upgrade to 1.94
Posted: Wed Mar 09, 2011 11:34 pm
by Wishbone
One of those broken links is pointing to "uploads/images/image%20mesh/Image%20Mesh%20LED%20screen%20display%20wall.jpg"
Does this exist on your server? Why the spaces in the file names?
Re: Problem displaying images after upgrade to 1.94
Posted: Thu Mar 10, 2011 12:02 am
by pwg
The spaces in the names came via client uploads - I'll fix that sort of thing later.
The images do exist, but the problem is with the CMS or TinyMCe adding in an extra (index.php) level to the file location.
Re: Problem displaying images after upgrade to 1.94
Posted: Thu Mar 10, 2011 12:09 am
by Wishbone
I see.. It looks like you have 'internal' pretty URLs turned on. This setting is in config.php. The images will be relative to this path unless you have <base href="/"> in your HTML, which you don't.
Do you have the {metadata} tag in your <head> ? It needs to if you're using pretty URLs and relative paths. This tag supplies the <base href> tag in your HTML.
Did you turn on pretty URLs? Was it in your previous install?
<SOLVED> Re: Problem displaying images after upgrade to 1.94
Posted: Thu Mar 10, 2011 12:18 am
by pwg
Thanks
I did have pretty URL's via the config file on the previous install, but oddly didn't have the {metadata} tag.
Thanks a lot - I'll check now (can see already that images aren't showing in CMS with tag installed).
Appreciate the help.