|
Pages: [1]
|
 |
|
Author
|
Topic: relative path to images (Read 1831 times)
|
|
Axel Ko
Posts: 5
|
Hi,
I've read that you can only see pictures in the editor that have absolute path. Since a lot of webdesign programs start in the current directory isn't it possible to just look for the images in the $ROOT path if the path is relative. I mean often images look like <img src="images/pic1.gif">. If you look at the $ROOT/images dir you will find the pictures. I don't know if this is easy to make but it would be very nice to me.
Regards, Axel
|
|
|
|
|
admin
Forum Administrator

Posts: 3069
SnippetMaster Author
|
It's a very good suggestion.. The problem isn't that it can't be done.. the problem is that it would take a LOT of work. The WYSIWYG editor uses dhtml and mshtml components, from Microsoft. The image capability is "built-in" using the components they provide. If I modify anything, then the result would mean having to completely rewrite the ENTIRE component myself. Every little bit of functionality would need to be completely rewritten. It's a case of "all or nothing", I guess. I'm still investigating if I should do this, because I agree that most web pages use relative links for images.. and it would be nice to see the images in the editor, not just a placeholder.
|
|
|
|
|
jdawes
Posts: 35
|
[-] |
agreed
« Reply #2 on: December 24, 2002, 12:46:34 AM » |
|
I would have to agree that it would be nice for the actual images to show up. Though I have no idea how much work it us, but if you are using premade plugins for that section of it then no doubt there would be a great deal of work involved. Perhaps the components that snippetmaster uses written by microsoft wrote could be updated by microsoft?
|
|
|
|
|
jdawes
Posts: 35
|
until such time as there is a work around or a fix for this, I think i will avoid the issue by using full image references on pages where the images will be editable in snippetmaster and everywhere else I will avoid including images in the editable area unless particularly necessary.
Of course the curious twist to this is, as soon as I use complete url references for the images they don't show up in the offline html editor. It's not such a big deal, I'd rather not see them image myself than my client editing it not see the image.
Sometimes there is a lot of work involved in having the best of both worlds. Easier to work around it i guess.
|
|
|
|
|
|
|
Pages: [1]
|
|
|
 |