Menu |
PmWiki /
InsertAnImageAutomatic image handlingYou can upload images to insert them in your pages. These images will be resized automatically. Set Img:myimage.jpg If default dimensions are not ok for you, you can impose the dimensions by setting Img:150*800*otherimage.gif Image type is limited to jpeg, gif and png. Img:*220*1024*myimage.jpg IPTC tags (informations written in image file)If the image already contains IPTC tags, they will be displayed. Computer actionsAfter validating the input, the images are resized and stored on the harddrive.
There is no size limitation (but the server probably have limitations), wrong files will be automatically deleted and too large archive images will be resized. This markup do not resize images lower than 115% of the required size (to limit quality loss). So if plain size is defined at 768 pixels, a 800 x 600 image will not be resized (it is 104% of required), but a 1024 x 768 will be resized at 768 x 576.
An archive image can be simply displayed with an Attach:image.ext. If plain image is of same size as the archive image (if it was not resized), the archive will be automatically deleted. The IPTC tags of an image which was not resized cannot be modified if they already exists. If the small image is of same size as the plain image, there will be no link to the plain image. So by example : Img:350*350*AnImage.jpg will simply display the image with a dimension of 350 pixels. This page may have a more recent version on pmwiki.org: PmWiki:InsertAnImage, and a talk page: PmWiki:InsertAnImage-Talk. |