I can upload images no problem, they appear correctly in content chunks when using FCKEditor, but when they're viewed on my site, the images are broken. I'd guess it's a problem with mod_rewrite (which I am using) config.
A path to a typical image (a broken one) might be:
http://www.example.com/index.php/upload ... yimage.jpg
In the editor, this appears as 'uploads/images/myimage.jpg', so the relative path is right - mod_rewrite must be getting the root wrong.
And I can confirm that the really is an image called myimage.jpg in uploads/images.
Incidentally, is there any particular reason to retain the index.php in the rewritten URL? As far as I'm concerned, the main point of rewriting URLs is to remove such syntax.
Broken rewritten image paths in 0.13b4
Re: Broken rewritten image paths in 0.13b4
If you put a {metadata} tag in your tag, it should fix the problem. The {metadata} tag will spit out a base tag that will set the path that all relative paths will continue on from.
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: Broken rewritten image paths in 0.13b4
You just need to create a .htaccess file to mod_rewrite and then change some options in config.php.Synchro wrote: Incidentally, is there any particular reason to retain the index.php in the rewritten URL? As far as I'm concerned, the main point of rewriting URLs is to remove such syntax.
See: http://wiki.cmsmadesimple.org/index.php ... ricks

Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
