Diff: Help/Images

Differences between current version and predecessor to the previous major change of Help/Images.

Other diffs: Previous Revision, Previous Author

Newer page: version 3 Last edited on 17 January 2022 3:00 by harold
Older page: version 2 Last edited on 22 May 2014 3:01 by harold Revert
@@ -8,9 +8,9 @@
 === Toolbar === 
  
 Once the image is uploaded, the easiest way to insert it is to use the toolbar. 
  
-Click on the {{/themes/default/images/ed_image.png}} icon and you will be shown a list 
+Click on the {{/themes/default/images/ed_image.png|Insert Image or Video }} icon and you will be shown a list 
 of available images. 
  
 Select an image and click //Insert//. The image will be inserted without options or alternative text. 
  
@@ -83,23 +83,22 @@
 You can also use "external" images by providing a URL. 
  
 In that case, you simply put the URL between double brackets or double curly brackets: 
 {{{ 
-[[http://phpwiki.svn .sourceforge .net/viewvc/phpwiki/trunk /themes/default/images/poweredby_phpwiki_51x31.png]] 
+[[http://phpwiki.demo .free .fr /themes/default/images/poweredby_phpwiki_51x31.png]] 
 }}} 
 or 
 {{{ 
-{{http://phpwiki.svn .sourceforge .net/viewvc/phpwiki/trunk /themes/default/images/poweredby_phpwiki_51x31.png}} 
+{{http://phpwiki.demo .free .fr /themes/default/images/poweredby_phpwiki_51x31.png}} 
 }}} 
 will give: 
  
-[[http://phpwiki.svn .sourceforge .net/viewvc/phpwiki/trunk /themes/default/images/poweredby_phpwiki_51x31.png]] 
+[[http://phpwiki.demo .free .fr /themes/default/images/poweredby_phpwiki_51x31.png]] 
  
 == See Also == 
-* [[Help:Adobe Flash]]  
 * [[Help:VideoPlugin]] 
 * [[Help:Wikicreole]] 
  
 <noinclude> 
 ---- 
 [[PhpWikiDocumentation]] 
 </noinclude> 

current version

You can easily use images in the wiki.

Uploaded images

First, image files need to be uploaded in the wiki. For that purpose, you will use the UpLoad plugin.

Toolbar

Once the image is uploaded, the easiest way to insert it is to use the toolbar.

Click on the Insert Image or Video icon and you will be shown a list of available images.

Select an image and click Insert. The image will be inserted without options or alternative text.

Syntax

You give access to the uploaded image with the following syntax.

{{myimage.png}}

or

[[Upload:myimage.png]]

will inline the image.

{{myimage.png|this is the alt text for my image}}

inlines the image with an alternative text.

[[some link|{{myimage.png}}]]

if you click on the image, will goto "some link"

[[some link|{{myimage.png|alt text}}]]

same with alternative

[[http://example.com/|{{myimage.png}}]]

same as above: picture links to url

[[http://example.com/|{{myimage.png|alt text}}]]

same with alternative

Upload:myimage.png

shows a plain link

[[Upload:myimage.png | my image]]

shows the image under a link named "my image".

For Mediawiki compatibility, the keyword Upload: can be replaced by File: or Image:.

Options

Using the Upload: syntax, options are allowed to change the appearance:

[[Upload:myimage.png size=40x25 align=center]]

Separate options by spaces. The allowed options are the following:

  • size: width "x" height or num + "%"
  • align: string
  • border: number
  • hspace: number
  • vspace: number

URL images

You can also use "external" images by providing a URL.

In that case, you simply put the URL between double brackets or double curly brackets:

[[http://phpwiki.demo.free.fr/themes/default/images/poweredby_phpwiki_51x31.png]]

or

{{http://phpwiki.demo.free.fr/themes/default/images/poweredby_phpwiki_51x31.png}}

will give:

See Also