Hi to all!
I have a problem, when I upload an image, first the filemanager don't see the images I uploades before, and second when I insert an image, and submit, the url is for example: "/one/two/image.jpg" and the problem is that I need that the images are complete url : "http:mydomain.com/one/two/image.jpg" can you help me?
Regards
Bruno Chávez
Sat, 05/23/2009 - 23:48
#1
Re: Upload image URL Proble
Hi,
If you go to fckeditor/filemanager/connectors/php/config.php, around line 37:
This should be
with both folders one and two having permissions 777
Then you need to specify the absolute path for the user files directory, you can find this by making a php file with
in it, uploading it to the main directory at http://www.mydomain.com/ and opening it. This will tell you where your absolute path on your webserver is.
Put this in line 44 where it says:
Re: Upload image URL Proble
I make this, and works fine but....
the problem is in the filemanager, because if I put:
http://www.mydomain.com/one/two/
then when I try to upload directly from the first window the images are uploaded to the "two" directory but if I upload the files with the server button, then the images are uploaded to the "two/image" directory... why?
regards
Bruno
Re: Upload image URL Proble
Well, if you want image files to go to http://www.mydomain.com/one/two/ in both cases, in line 136 of config.php try replacing
with
Otherwise if you want it to go to http://www.mydomain.com/one/two/image/ in both cases, leave the part at line 136 and maybe at line 138 replace
with
Re: Upload image URL Proble
Hi Again
This works fine, but I have another problem, when I submit the post apears like this:
<img height=\"41\" border=\"1\" align=\"middle\" width=\"97\" src=\"http://mydomain.com/archivos/masvistos_inicio.jpg\" alt=\"Mas vistos\" />
and the problem is the \" because an email program doesn't see it, and apears only errors.
Can you help me?
Re: Upload image URL Proble
Re: Upload image URL Proble
Hi
This is the code, tks for your help.
Regards
Bruno Chávez
Re: Upload image URL Proble
to
this might fix it.
Re: Upload image URL Proble
Tks for your help, the problem is solved.
Regards
Bruno Chávez