Hi,
I have been using FCK editor for my CMS system but now i've run into the following problem.
My document structure is like this
Document1
Chapter
subchapter
(possible) sub sub chapter
Document2
Document1
Chapter
subchapter
(possible) sub sub chapter
For every document there can be images for every Chapter, Subchapter, subsubChapter this means i have to find a way to link all the images that are beeing uploaded to the documents.
but i have no idea where to start creating this the CMS system is in ASP any help will be most welcome
I have been using FCK editor for my CMS system but now i've run into the following problem.
My document structure is like this
Document1
Chapter
subchapter
(possible) sub sub chapter
Document2
Document1
Chapter
subchapter
(possible) sub sub chapter
For every document there can be images for every Chapter, Subchapter, subsubChapter this means i have to find a way to link all the images that are beeing uploaded to the documents.
but i have no idea where to start creating this the CMS system is in ASP any help will be most welcome
RE: Dynamic Imaging
Can you explain it again and tell us how it is related to this editor?
RE: Dynamic Imaging
Problem with FCKeditor is that you need to read the htm file into a string and set that as the editor.Value in order to display. That works fine, but no images are displayed because suddenly the relative paths don't make any sense because we're not necessarily in the directory that the doc resides in.
So the question remains, given a directory tree of biblical proportions, how does one correct/set relative paths for source images?
Cheers,
Scott
RE: Dynamic Imaging
Unfortunately the current version doesn't support it properly for Firefox, but it seems that given that Firefox 1.5 has fixed the bug that caused the problem the next version of FCKeditor might bring this function for everyone (that has updated his browser of course)
RE: Dynamic Imaging
I've solved my problem for a description just take a look at http://fckeditor.biz/viewtopic.php?t=161
Greetings
RE: Dynamic Imaging
As you found out the only thing that you need to change it's the ConfigUserFilesPath setting, but using cookies like that it's a horrible idea from a security point of view. once logged in any user could change it's userId cookie to any other one and they could mess with the files of the other user.
And what's more: what would happen if they change the value of the cookie to something like "../../" ?
RE: Dynamic Imaging
So all that you wanted to know it's how to specify a different image path for each user in Asp.
but indeed that was all i wanted to do.
As you found out the only thing that you need to change it's the ConfigUserFilesPath setting, but using cookies like that it's a horrible idea from a security point of view. once logged in any user could change it's userId cookie to any other one and they could mess with the files of the other user.
And what's more: what would happen if they change the value of the cookie to something like "../../" ?
Your Totaly Right it was just an example do
RE: Dynamic Imaging