|
How do I add a graphic to my page?
|
When you need to add a graphic/picture to your page it is not necessary to use Gallery:(Add Item). It is very possible to insert a graphic onto your page directly without the use of either a Gallery or Catalog type system. Follow these simple instructions to add a new graphic.
|
To insert a graphic is easy. You just need to know the secret code. (Or, at least it would be secret if we weren't telling you.)
When editing a page use one of the following forms to create a link:
-
- #insertgraphic:http://www.somewhereelse.com/filename.jpg#
-
This will put a graphic on your page which refers to an image called filename.jpg stored on some other server somewhere else.
A link <img src="http://www.somwhereelse.com/filename.jpg"> will be put into the page being edited -- creating a graphic from the image file.
-
- #insertgraphic:/graphics/filename.jpg#
- This will put a graphic on your page which refers to an image called filename.jpg stored on your website in a folder called graphics.
A link <img src="/graphics/filename.jpg"> will be put into the page being edited -- creating a graphic from the image file.
- #insertgraphic:graphics/filename.jpg#
-
This will put a graphic on your page which refers to an image called filename.jpg stored on your website in a folder called currentfolder/graphics. Where currentfolder is the folder of the page being edited.
So if the page being edited is in a folder called "howto" then a link <img src="graphics/filename.jpg"> will be put into the page being edited -- creating a graphic from the image file stored in a folder called /howto/graphics.
- #insertgraphic:filename.jpg#
-
This will put a graphic on your page which refers to an image called filename.jpg stored on your website in a folder called graphics. Hey, what's that? Why is it still in a subfolder called graphics? Because we think graphics should be stored in folders all their own. Why? Because we've written some thumbnail programs which expect this type of structure.
A link <img src="graphics/filename.jpg"> will be put into the page being edited -- creating a graphic from the image file.
- #insertgraphic:/otherfolder/graphics/filename.jpg#
-
This will put a graphic on your page which refers to an image called
filename.jpg stored on your website in a folder called
/otherfolder/graphics.
This form of "insertgraphic" is good for creating a graphic stored in a folder other than the one you are working in.
- #insertgraphic:filename.jpg#
-
This will put a graphic on your page which refers to an image called filename.jpg stored on your website in a folder called graphics. Hey, what's that? Why is it still in a subfolder called graphics? Because we think graphics should be stored in folders all their own. Why? Because we've written some thumbnail programs which expect this type of structure.
A link <img src="graphics/filename.jpg"> will be put into the page being edited -- creating a graphic from the image file.
If you have further questions contact us.
|