plugin:imagebox
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:imagebox [2016-11-04 15:50] – bug is closed flam | plugin:imagebox [2024-01-14 18:43] (current) – Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description : Syntax for display an image with a caption, like Wikipedia.org |
- | author | + | author |
- | email : lukas@rademacher.ac | + | email |
- | type | + | type : syntax |
- | lastupdate : 2016-11-04 | + | lastupdate |
- | compatible : Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, | + | compatible |
- | depends | + | depends |
- | conflicts | + | conflicts |
- | similar | + | similar |
- | tags | + | tags : media, images, mediawiki, caption |
- | + | ||
- | downloadurl: | + | |
- | bugtracker : https:// | + | |
- | sourcerepo : https:// | + | |
+ | downloadurl : https:// | ||
+ | bugtracker | ||
+ | sourcerepo | ||
+ | donationurl : | ||
+ | |||
+ | screenshot_img : | ||
---- | ---- | ||
- | ===== Installation | + | ===== Description |
- | - Installing the plugin: | + | This plugin |
- | * Automatic: | + | |
- | * install the plugin via the [[plugin: | + | |
- | * Manual: | + | |
- | * you can extract the archive into the '' | + | |
- | - Update the '' | + | |
- | ===== Preview ===== | ||
- | {{http:// | + | {{https:// |
- | {{http:// | + | {{https:// |
- | {{http:// | + | {{https:// |
===== Usage ===== | ===== Usage ===== | ||
- | Just add '' | + | Just add '' |
[{{ImagePath|Caption}}] | [{{ImagePath|Caption}}] | ||
- | + | ||
The caption can be formatted. | The caption can be formatted. | ||
- | Make sure, to empty the cache of the browser. (In Firefox: Press [shift] while clicking | + | ===== Configuration ===== |
+ | |||
+ | The plugin can be configured within | ||
+ | |||
+ | ==== display magnify ==== | ||
+ | |||
+ | Display the click-enlarge icon: | ||
+ | |||
+ | * If necessary | ||
+ | * Always | ||
+ | * Never | ||
+ | |||
+ | ==== center align ==== | ||
+ | |||
+ | ==== default caption style ==== | ||
+ | |||
+ | Default style for the image caption: | ||
+ | |||
+ | * Normal | ||
+ | * Italic | ||
+ | * Bold | ||
===== History ===== | ===== History ===== | ||
+ | * 2023/08/13 : svg support, move plugin support, fix: alignmend-issues, | ||
+ | * 2019/07/31 : fixed height syntax | ||
+ | * 2019/07/02 : New languages, Float-fixes | ||
+ | * 2016/11/22 : Fixed responsive image size,fixed centered imageboxes, fixed overwidth captions | ||
* 2016/11/04 : PHP7 compatibility | * 2016/11/04 : PHP7 compatibility | ||
* 2016/11/04 : Forked to github | * 2016/11/04 : Forked to github | ||
Line 59: | Line 79: | ||
* 2008/11/18 : Don't resize images to their original size. (Better compression) | * 2008/11/18 : Don't resize images to their original size. (Better compression) | ||
* 2008/11/07 : imagebox use more DokuWiki functions (+ fix bad media URL) | * 2008/11/07 : imagebox use more DokuWiki functions (+ fix bad media URL) | ||
- | * 2008/10/07 : new version ! (Clean "< | + | * 2008/10/07 : new version ! (Clean "%%<div class=" |
- | + | ||
- | ====== Discussion ====== | + | |
- | + | ||
- | ==== Does not display box ==== | + | |
- | + | ||
- | I have installed and refreshed the page and if I use the syntax you specified: | + | |
- | < | + | |
- | + | ||
- | {{wiki: | + | |
- | + | ||
- | Title | + | |
- | + | ||
- | + | ||
- | > Try HARD-refresh (Shift + refresh) | + | |
- | > | + | |
- | >> | + | |
- | + | ||
- | ==== relative folder ==== | + | |
- | + | ||
- | __Limitation__: | + | |
- | + | ||
- | If **$match[' | + | |
- | + | ||
- | > Fixed :-) | + | |
- | > --- //myst6re 2009/12/06 19:17// | + | |
- | + | ||
- | ==== Does not display caption ==== | + | |
- | + | ||
- | %%$match[' | + | |
- | $match=Doku_Handler_Parse_Media(substr($match.' | + | |
- | + | ||
- | : Yes, this plugin seems to be broken (version 25.12.09) - changing the handle function has to be done in the universal DokuWiki code, not just the plugin folder - so this might brake other functions. - Could someone please fix this bug? (Bernd, 20. Jan 2010) | + | |
- | + | ||
- | > I fixed my mistake, sorry | + | |
- | > --- //myst6re 2009/21/01 17:15// | + | |
- | + | ||
- | >> Thanks, comrade, this was fast, and it works - you are hereby awarded the [[wp> | + | |
- | + | ||
- | ====Does not work with image links? | + | |
- | + | ||
- | It seems the plugin does not work with linked images. | + | |
- | [[www.somelink.com|{{www.somelink.com/ | + | |
- | But thanks anyway - great idea | + | |
- | + | ||
- | === It works === | + | |
- | + | ||
- | You weren' | + | |
- | + | ||
- | ==== Not working inside lists e.g. yalist ==== | + | |
- | + | ||
- | The image box is not shown as inline picture, but only as floating box: | + | |
- | < | + | |
- | -- item | + | |
- | .. [{{...}}] | + | |
- | - ... | + | |
- | - ... | + | |
- | </ | + | |
- | + | ||
- | ==== Not working between two paragraphs ==== | + | |
- | + | ||
- | This will place the second paragraph on the right side of the picture instead of after it (Google Chrome): | + | |
- | + | ||
- | < | + | |
- | Text text text | + | |
- | + | ||
- | + | ||
- | [{{...}}] | + | |
- | + | ||
- | + | ||
- | Text text text | + | |
- | </ | + | |
- | + | ||
- | > Similar problem. If i wrote: | + | |
- | >< | + | |
- | | + | |
- | + | ||
- | | + | |
- | </ | + | |
- | >< | + | |
- | figure1 paragraph1 | + | |
- | figure1 figure2 paragraph2 | + | |
- | </ | + | |
- | >< | + | |
- | figure1 paragraph1 | + | |
- | + | ||
- | figure2 paragraph2 | + | |
- | </ | + | |
- | > (ribez 2011/ | + | |
- | > 2015/10/16 - problem "Not working between two paragraphs" | + | |
- | === " | + | ===== Discussion & Troubleshooting ===== |
- | If used with a img url it displays bos and caption but " | + | If you encounter problems make sure, to empty the cache of the browser. (In Firefox: Press [shift] while clicking the reload button) |
- | [{{http:// | + | Please use the issue tracker for feature-requests and bug-reports. |
plugin/imagebox.1478271041.txt.gz · Last modified: 2016-11-04 15:50 by flam