I have a CMS I'm working on that has utilized CKEditor. I have images linked to a UserID in our system. Therefore, for UserID 2, the image would be at URL mysite.com/images/2_image.gif. The issue I am having is that a url to an image on my server is not coming out correctly through the editor. For example:
I have a folder called "images". In this folder there are multiple images:
2_image.gif
10_image.gif
22_image.gif
when the data is returned form a JS call "CKEDITOR.instances.ID.getData()", it instead returns URL mysite.com/images/22_image.gif.
Any ideas? It's like the editor is looking at an array of the images 2_image.gif and 22_image.gif and selecting the next one down, OR it is passing a wild card somehow when it retrieves the image name for the URL. Not sure, really.
I have a folder called "images". In this folder there are multiple images:
2_image.gif
10_image.gif
22_image.gif
when the data is returned form a JS call "CKEDITOR.instances.ID.getData()", it instead returns URL mysite.com/images/22_image.gif.
Any ideas? It's like the editor is looking at an array of the images 2_image.gif and 22_image.gif and selecting the next one down, OR it is passing a wild card somehow when it retrieves the image name for the URL. Not sure, really.