Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inserting images to a page
#1
Hi there,
I really appreciate the simple
Reply
#2
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
Reply
#3
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:
-----------
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
Reply
#4
/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.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#5
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
Reply
#6
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.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply




Users browsing this thread: 2 Guest(s)