Page 1 of 1

Image Editor not displaying images

Posted: Sun Jan 29, 2006 3:10 pm
by shade
Hello everybody,

after a long, long search for a CMS that could satisfy my needs I got here.
I must admit that CMS is indeed simple and yet powerful, so I made it my choice.

It seems that the image editor has an issue displaying images. Please insert this in your bug list.



S.


[attachment deleted by admin]

Re: Image Editor not displaying images

Posted: Sun Jan 29, 2006 9:25 pm
by shade
Hello,

it looks like there is a line of code probably left behind from some test in the method getFiles of class ImageManager that is printing out a slash inside the image editor.
The line of code is the following:

echo ''.$path.'';


S.

Re: Image Editor not displaying images

Posted: Sun Jan 29, 2006 9:46 pm
by shade
I found where resides the issue that causes images not to be displayed. Inside file images.php in method drawFile change the following line of code:

config['base_url']}{$file['relative']}";?>" TARGET="_blank" title=" - ">getThumbnail($file['relative']); ?>" alt=" - "/>

with this one:

config['base_url']}{$file['relative']}";?>" TARGET="_blank" title=" - ">config['base_url']}{$file['relative']}";?>" alt=" - "/>


S.