You are not logged in.
#1 2010-06-14 12:09:21
- go1denboy
- Member
- Registered: 2010-06-14
- Posts: 2
Path of Image in Frontend is wrong...
Hi,
i am able to upload Images with the ImageManager.
The path of the Imagemanager is: "xyz/admin/mce/plugins/imagemanager/"
So I added the following line:
$mcImageManagerConfig['filesystem.rootpath'] = '../../../../images/specialimages/';
With this line I am able to use the Manager very comfotable. When I Save the Editors code, the Image will linked like that:
"../images/specialimages/pic0001.jpg"
Why the Editor adds the "../"?? Where can config this out??
I want "images/specialimages/pic0001.jpg".
Thank you very much
Offline
#2 2010-06-14 12:15:21
Re: Path of Image in Frontend is wrong...
Use the relative_urls option or the document_base_url to make it relative from another point. Check the TinyMCE FAQ for details. There are examples and docs there.
Best regards,
Spocke - Main developer of TinyMCE
Offline
#3 2010-06-14 12:43:55
- go1denboy
- Member
- Registered: 2010-06-14
- Posts: 2
Re: Path of Image in Frontend is wrong...
thx. it works.
---- closed ----
Offline
#4 2010-07-01 23:00:59
- garyjohn
- Member
- Registered: 2009-08-29
- Posts: 4
Re: Path of Image in Frontend is wrong...
Imagemanager problem
I can upload an image fine and the path is right. I am using the editor in an email program and it puts the image in the email OK. When I send an email it attaches an addtional url to the email image which is wrong and the image doesn't show.
This is what the path shows in the email.
file:///C:/Documents%20and%20Settings/Compaq_Owner/Desktop/tinymce/jscripts/tiny_mce/plugins/imagemanager/files/NL_IMAGES/Michael_Jordan.jpg
file:///C:/Documents%20and%20Settings/Compaq_Owner/Desktop This shouldn't be in the path.
I have tried to change the root path in the config file but haven't be able to fix it
Can you help?
Thanks, Gary
Offline
#5 2010-07-01 23:25:45
Re: Path of Image in Frontend is wrong...
Don't know what that issue might be sounds like it's out side the scope of our application. Could be the fact that TinyMCE produces relative urls by default. Check the TinyMCE FAQ for details on that.
Best regards,
Spocke - Main developer of TinyMCE
Offline
#6 2010-07-19 11:55:53
- garlantinapple
- Member
- Registered: 2010-07-06
- Posts: 10
Re: Path of Image in Frontend is wrong...
When I send an email it attaches an addtional url to the email image which is wrong and the image doesn't show.
Offline
© 2003-2010