Images should be uploaded using the
attach file method of each snip. After beeing uploaded an image can be shown inlined as shown in the examples below:
- {image:myimage} displays image uploaded as myimage.png
- {image:http://www.boing.de/boing.jpg} displays an external image
- {image:myimage.jpg} displays image myimage.jpg
- {image:myimage.jpg|alt=test|align=left} displays an image, gives it an alt tag of "test" and aligns it left.
- {image:attachedimage|link=http://theurl/} includes a link in the image.
Planned:
Upload DONE
- Display ranges {image:1-3}
- Display all images {image:all}
- Display images as photo album or in some nice way
This the sample above:
Attached images are stored in the file store area of
SnipSnap. The file store uses directories for each name space hierarchy and stores the file using its original file name on the file system.
If it was a .gif, .jpg, etc. you save it with the appropriate extension (.gif in this example) and call it with {image:1.gif}
External images are disabled on snipsnap.org