Setting an image size in a wiki page

Wiki: TOC, VTOC, Home
Forum: Home, General


(Note: when editing the source of this page, ignore the tags that have tildes (~) embedded in them. Those are needed to make the wiki show the tags on the page instead of the actual image. )

Default

The default way of referencing a previously-uploaded image on the page is to use the following format:

{{$ media:toowide.png}}

In this case, the image name is “toowide.png”, and it looks like this:

 

Resize

If an image is too large to be easily seen, like above, then maxwidth and/or maxheight can be used to limit how big it gets. Here are some examples:

{{$ media:toowide.png?maxwidth=600}}
{{$ media:toowide.png?maxwidth=600&maxheight=600}}

And here is how it appears with those parameters:

 

If you want to resize AND link directly to the original version (without having to click through the media info page), then use this format:

[[ {{$ http://wiki.logos.com/media/toowide.png?maxwidth=600 }} >> http://wiki.logos.com/media/toowide.png ]]

The full URLs are required in this case (and the “media” tag has to be avoided).



Logos Bible Software Wiki

Welcome, Guest! (sign in)