В данный момент вы не в системе. Авторизируйтесь при помощи следующей формы. Замечание: для работы у вас должны быть включены куки (cookies).
Здесь показаны различия между двумя версиями данной страницы.
wiki:syntax [2012/04/19 14:02] 127.0.0.1 внешнее изменение |
wiki:syntax [2012/05/04 16:22] Александр Филонов [Images and Other Files] добавил совместимость с relativens |
||
---|---|---|---|
Строка 126: | Строка 126: | ||
You can include external and internal [[doku>images]] with curly brackets. Optionally you can specify the size of them. | You can include external and internal [[doku>images]] with curly brackets. Optionally you can specify the size of them. | ||
- | Real size: {{wiki:dokuwiki-128.png}} | + | Real size: {{dokuwiki-128.png}} |
- | Resize to given width: {{wiki:dokuwiki-128.png?50}} | + | Resize to given width: {{dokuwiki-128.png?50}} |
- | Resize to given width and height((when the aspect ratio of the given width and height doesn't match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:dokuwiki-128.png?200x50}} | + | Resize to given width and height((when the aspect ratio of the given width and height doesn't match that of the image, it will be cropped to the new ratio before resizing)): {{dokuwiki-128.png?200x50}} |
Resized external image: {{http://de3.php.net/images/php.gif?200x50}} | Resized external image: {{http://de3.php.net/images/php.gif?200x50}} | ||
- | Real size: {{wiki:dokuwiki-128.png}} | + | Real size: {{dokuwiki-128.png}} |
- | Resize to given width: {{wiki:dokuwiki-128.png?50}} | + | Resize to given width: {{dokuwiki-128.png?50}} |
- | Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}} | + | Resize to given width and height: {{dokuwiki-128.png?200x50}} |
Resized external image: {{http://de3.php.net/images/php.gif?200x50}} | Resized external image: {{http://de3.php.net/images/php.gif?200x50}} | ||
Строка 142: | Строка 142: | ||
By using left or right whitespaces you can choose the alignment. | By using left or right whitespaces you can choose the alignment. | ||
- | {{ wiki:dokuwiki-128.png}} | + | {{ dokuwiki-128.png}} |
- | {{wiki:dokuwiki-128.png }} | + | {{dokuwiki-128.png }} |
- | {{ wiki:dokuwiki-128.png }} | + | {{ dokuwiki-128.png }} |
- | {{ wiki:dokuwiki-128.png}} | + | {{ dokuwiki-128.png}} |
- | {{wiki:dokuwiki-128.png }} | + | {{dokuwiki-128.png }} |
- | {{ wiki:dokuwiki-128.png }} | + | {{ dokuwiki-128.png }} |
Of course, you can add a title (displayed as a tooltip by most browsers), too. | Of course, you can add a title (displayed as a tooltip by most browsers), too. | ||
- | {{ wiki:dokuwiki-128.png |This is the caption}} | + | {{ dokuwiki-128.png |This is the caption}} |
- | {{ wiki:dokuwiki-128.png |This is the caption}} | + | {{ dokuwiki-128.png |This is the caption}} |
If you specify a filename (external or internal) that is not an image (''gif, jpeg, png''), then it will be displayed as a link instead. | If you specify a filename (external or internal) that is not an image (''gif, jpeg, png''), then it will be displayed as a link instead. |