See
http://jira.xwiki.org/browse/XWIKI-13245 .
On Mon, Dec 12, 2016 at 5:33 PM, Enste, Patrick <patrick.enste(a)atos.net>
wrote:
Hey,
I tried to google a solution but I did not found anything. Maybe somebody
here can help me :-)
I observed the following behaviour on my XWiki (v 7.1.1): Using the XWiki
Syntax 2.1 for inserting images leads to a problem if I am using
parameters. Let's say im using [[image:img.png||width="25px"]]. When I am
saving the page the source code of the generated html is something like
<img src="/xwiki/bin/download/Space/img.png?width=25"
width="25px"
alt="img.png">.
After a refresh of the page the source code gets <img
src="/xwiki/bin/download/Space/img.png?width=25&width=25"
width="25px" alt="img.png">. After another refresh the source code
gets
<img
src="/xwiki/bin/download/Space/img.png?width=25&width=25&width=25"
width="25px" alt="img.png">. And so on and so on .....
After a lot of refreshes the src path is too long for my server
(restricted to 1024 chars) and the image is not shown anymore.
When I edit the page and save it the path gets "normal" again.
Am I using the syntax wrong or is it (I guess that is the problem) a XWiki
problem? I guess the path resolving has a bug but maybe somebody can help
me without updating the XWiki?
Thanks in advance,
Patrick