I am building my own cms and have sucesffuly implemented fckeditor. My big problem is that when we use the file manager to insert an image we are left unable to view the image.
The reason i have seen is that we are using a relative path. Let me break this down.,.
The editor is seen at http://localhost/cms/cms_pages_edit_con ... ?pagesID=6
The website image path entered into the code generated by fckeditor is image/picture.gif
Why won't it show me the image inthe editor window. I don't want to use absolute urls as i would then have to change them when i upload the site.
Sun, 05/03/2009 - 21:10
#1
Re: Annoying image problems that I cannot work out
Is there anybody on this forum who has had this problem.
I thought this was a very active forum but my topics don't seem to be getting answers.. Is this when we have to start buying support?
Ian
Re: Annoying image problems that I cannot work out
Re: Annoying image problems that I cannot work out
My site root is called cms..
In the root level folder is the editor folder
In the root level folder is a file called fckeditor.asp and in this sBasePath= "http://localhost/cms/"
In the editor folder we have folder called filemanager/connectors/asp/config.asp In here I have the follwoing code:
ConfigFileTypesAbsolutePath.Add "Image", "C:\Inetpub\wwwroot\CMS\image"
ConfigQuickUploadPath.Add "Image", ConfigUserFilesPath
ConfigQuickUploadAbsolutePath.Add "Image", "C:\Inetpub\wwwroot\CMS\image"
I can browse using the insert image tool and insert pictuourres. The code it generates is correct. If i manually edit the img src code to show the full local url then the picture displays fine but this isn't going to work for me as i then have to move it online which won't have the same directory structure.
How does that compare with your stuff Tyler?
Ian
Re: Annoying image problems that I cannot work out
Give up!!
Re: Annoying image problems that I cannot work out
Of course, you could have use any debugging tool, check your server logs, etc... but it's better to wait for someone else to give you the solution (and as you clearly stated, for free)
Re: Annoying image problems that I cannot work out
Thank you for replying with a complete waste of time comment.
I have been posting this issue for a while now trying to see if someone else has the same experience before submitting urls etc.
Seems logical not to confuse a forum with excess info before it is necessary.