"content_image" directory path when default "uploads" not used [Solved]
Posted: Sun Aug 22, 2010 7:42 pm
Hi. I'm running CMS Made Simple 1.8.2. I'm using PHP 5.2.11, and MySQL 5.0.77. This is all working with Apache Apache/2.2.3 (CentOS) on Linux.
In my config.php file, I typically change the default "uploads" folder to "media". Unfortunately, I'm having an issue when trying to use the "content_image" tag when not using the default "uploads" directory.
Although the system retrieves the list of images in my folder correctly in the page editor, it always renders on the page using the default "uploads" prefix.
I've tried several variations of the path, and have even tried to update the "function.content_image.php" file directly, but to no avail. I've also searched the forums and couldn't find a solution.
Any help or advice would be greatly appreciated!
In my config.php file, I typically change the default "uploads" folder to "media". Unfortunately, I'm having an issue when trying to use the "content_image" tag when not using the default "uploads" directory.
Although the system retrieves the list of images in my folder correctly in the page editor, it always renders on the page using the default "uploads" prefix.
Code: Select all
{content_image block='Page Photo' dir='images/photos'}
Any help or advice would be greatly appreciated!