SnippetMaster Support Forums
Return to main website
 
May 23, 2012, 08:33:03 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?
May 23, 2012, 08:33:03 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: images of the editable page is not loading up « previous next »
Pages: [1] Print
Author Topic: images of the editable page is not loading up  (Read 1272 times)
jerrydeng

Posts: 1


[-] images of the editable page is not loading up
« on: April 18, 2003, 11:36:36 AM »

The images of the editable page is not loading up in the snippet editor, why?
What is the permission needed for snippet to work?
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3070

SnippetMaster Author


WWW
[-] images of the editable page is not loading up
« Reply #1 on: April 20, 2003, 10:38:26 AM »

Images that don't contain an absolute path will not be able to display in the editor.  This is not a bug, but is part of the design.  Since the editor does not know the location of the original file, it is unable to determine where the images are located..

Don't worry, though.. even if the images don't display in the editor they will still be there for the preview, and live page, etc..

All WYSIWYG editors share this problem..
Report to moderator   Logged
KingSky

Posts: 30



[-] images of the editable page is not loading up
« Reply #2 on: April 21, 2003, 09:51:51 AM »

I would recommend you take a look at a solution provided by a similar script to Snippetmaster.  Although it is a perl script, it uses the same internal WYSIWYG components.

http://www.bookcms.com/

I would revise your statement:

Quote
All WYSIWYG editors share this problem..


Although this problem is common to WYSIWYG editors, it is not universal and some editors have solved the problem.  The solution bookcms came up with was to put in the url each time there is an image.  Seems to work quite well.  Couldn't something similar be done with Snippetmaster?  It would solve a lot of problems, and eliminate a LOT of client complaints.
Report to moderator   Logged

admin
Forum Administrator
*
Posts: 3070

SnippetMaster Author


WWW
[-] images of the editable page is not loading up
« Reply #3 on: April 21, 2003, 10:03:25 AM »

Yes, actually the next version of SnippetMaster does exactly this same process..

The problem is that there are several ways to call an image file.

ie:  ../../../../../../image.gif  is a valid call.  This would be very difficult for the editor to make work.

But if you used /image.gif, then it is easy.  The problem is that our programming must account for EVERY possible variation of calling an image, which is a lot of work to do.  The new version of SnippetMaster is able to handle both variations.. if you sign up for the newsletter mailing list you'll know when we're looking for beta testers and when the new version is released.

Thanks!
Report to moderator   Logged
apollo

Posts: 6


[-] Displaying Images
« Reply #4 on: May 03, 2003, 10:07:22 PM »

Why not let the editor use the path defined in the upload images section in the cofiguration, by matching the current directory and then appending the matching directory from allowed upload configuration.  i.e.  if you are editing a page in http://mydomain.com/myclient/...  the it should use "/myclient/" plus the allowed upload folder ".../myclient/photos/" making the final path "http://mydomain.com/myclient/photos"  Since you have to define the allowable upload directory it should look there for the images.
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: images of the editable page is not loading up « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!