i have many CMS's at
http://ip.of.my.server/customer1/backend/
http://ip.of.my.server/customer100/backend/
the frontend are at
http://www.mycustomer1.com
http://www.mycustomer100.com
when uploading an image, FCK puts in the database a field like img src="/customer1/backend/UserFiles/Image/image.jpg"
as you can see the path is different between
backend -> /customer1/backend/
and frontend -> /
so the "img" tag would never work in both environments
i may force a path to display it well in the frontend, but i would then get no preview in the backend
how would you solve this issue ?
thanks
Mon, 04/03/2006 - 09:02
#1
RE: Please help! still image upload problems
I'm struggling with the same problem. Maybe this will help:
http://sourceforge.net/tracker/index.ph ... tid=543655
RE: Please help! still image upload problems
A bit rough, but I got it solved...
Do as described above and in frmresourcelist.html on line 95 change "window.top.opener.SetUrl(fileUrl ) ;" to "window.top.opener.SetUrl( 'http://www.ipofyourserver.at'+fileUrl ) ;"
This writes the absolute URL in the source code of your file. Hope this helps...
I'm sure you can do better, but I'm new to this...
RE: Please help! still image upload problems .. !
Subfolder control for the PHP version of the connector is implemented in a patch at:
http://tinyurl.com/pepft
[This goes to http://sourceforge.net/tracker/index.ph ... tid=543655 minus the ; that Sourceforge's forum software seems to be adding after the &.]
but the patch has yet to be reviewed yet, so obviously use at your own risk.
Using a single global folder is also thus possible as each resource type can just be set to an empty string '' rather than 'Image/', 'File/', etc, or you could use whatever you want, e.g. 'image/'
RE: Please help! still image upload problems .. !
it used to add img like "userfiles/image.jpg", on both ie and firefox, but the preview while editing did not work on firefox
is it a known bug ?