The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Inserting images to a page - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Inserting images to a page (/showthread.php?tid=800) |
Inserting images to a page - gioacchinomauri - 2010-07-12 Hi there, I really appreciate the simple Inserting images to a page - gioacchinomauri - 2010-07-12 Full post: ----------- Hi there, I really appreciate GetSimple cms but i don't understand why i have to put the full url of my images in order to use them in a page. If i put an image with the full url (http:// ...) the image get displayed in the editor but if i try the relative url /data/uploads/myimage.png) i get an "x" in the editor. Is it wrong the relative url i'm using ? Thanks Inserting images to a page - gioacchinomauri - 2010-07-16 Hi, Isn't my question clear ? I would like to insert images without using the full url ("http:// ... "). What is the relative url i have to use ? Thanks gioacchinomauri Wrote:Full post: Inserting images to a page - Zegnåt - 2010-07-16 /data/uploads/myimage.png should be the right relative URL. Unless you have GetSimple installed in a subdirectory. If GetSimple is installed on http://example.ms/getsimple/ instead of directly on http://example.ms/ you’re going to have to use /getsimple/data/uploads/myimage.png to point to your image. I hope this helps you out, I don’t really have a better answer ready for you I’m afraid. Inserting images to a page - Göcke - 2010-08-10 Ive hade the same in edit mode you see the image if you use ../image or ../data... but dont in the real mode from outside but if you use ./ in edit mode uou dont see the image in edit mode but in the real outside Inserting images to a page - Zegnåt - 2010-08-15 Why would you use ./ instead of just /? Using just a / refers to the root of the domain, so if GetSimple is installed there /data/uploads/ will always refer to the uploads folder and is a fool-proof way of linking to anything. I haven't tested it in CKEditor, but if you link it there starting with just the forward slash it should even display the image there. |