SnippetMaster Support Forums
Return to main website
 
February 21, 2018, 11:17:46 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 21, 2018, 11:17:46 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  Suggestions & Feature Requests  |  Topic: relative path to images « previous next »
Pages: [1] Print
Author Topic: relative path to images  (Read 3346 times)
Axel Ko

Posts: 5


[-] relative path to images
« on: November 23, 2002, 12:33:15 PM »

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
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] relative path to images
« Reply #1 on: November 23, 2002, 01:01:44 PM »

It's a very good suggestion..  Very Happy

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.
Report to moderator   Logged
jdawes

Posts: 35


WWW
[-] 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?
Report to moderator   Logged
jdawes

Posts: 35


WWW
[-] until such time
« Reply #3 on: December 24, 2002, 01:03:37 AM »

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.
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  Suggestions & Feature Requests  |  Topic: relative path to images « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!