Hello,
First excuse me for my english, i speak french.
i try to set fckeditor with php to use images upload. make my test iin local server with wamp.
then my settng is:
website: 'c:/wamp/www/test/
editor : 'c:/wamp/www/test/editor/
i have set in config.php
$Config['UserFilesPath'] = 'c:/wamp/www/test/editor/userfiles/' ;
$Config['UserFilesAbsolutePath'] = 'c:/wamp/www/test/editor/userfiles/' ;
and in fckeditor.js:
FCKConfig.BaseHref = 'http://localhost/test/editor/' ;
i can upload image its work but i can see my image. in the preview i have image with an icon. and the same in the textfield editor.
what is my problem? i really need help.. ii have read the doc and all post with config but i cannot always see my image.
thanks to help me i appreciate...
Sun, 03/15/2009 - 12:10
#1
Re: help new user fckeditor - upload image ok but not preview
i test and i see in the htmlcode the problem but i dont know how to resolve this..
when i select my image and add the html is:
/wamp/www/test/editor/userfiles/image/delisle.gif
and ii can see image
but if i put directly this link to my image:
http://localhost/test/editor/userfiles/ ... elisle.gif
i can view image...
then can you tell me how to set this with fckeditor?
thanks a lot
Re: help new user fckeditor - upload image ok but not preview
ok i found the problem if can help other people the soluce is:
$Config['UserFilesPath'] = 'http://localhost/test/editor/userfiles/' ;
$Config['UserFilesAbsolutePath'] = '/wamp/www/test/editor/userfiles/' ;
thanks
Re: help new user fckeditor - upload image ok but not preview
I've tried the suggested solution but I'm not getting a preview:
my settings in config.php are as follows:
$Config['UserFilesPath'] = 'http://localhost/userfiles/' ;
$Config['UserFilesAbsolutePath'] = 'c:/EasyPHP/www/userfiles/' ;
I've tried 3 times & each time it makes a copy eg:
title370x160.png
title370x160(1).png
title370x160(2).png
All I get is a broken image icon. Any help on this would be great !