Opened 12 years ago

Closed 12 years ago

#1045 closed Bug (duplicate)

Thumbnails expanded to full size images on save

Reported by: Travis (@ wikiHow) Owned by:
Priority: Must have (possibly next milestone) Milestone:
Component: Project : MediaWiki+FCKeditor Version:
Keywords: Cc:

Description

(Thanks for the awesome integration into Mediawiki.)

When saving a page that contains thumbnails, thumbnail references are not preserved and are replaced with references to their full sized images.

Before: http://fck.wikidiy.com/index.php?title=Communicate-with-Body-Language&oldid=962998

After: http://fck.wikidiy.com/index.php?title=Communicate-with-Body-Language&oldid=987145

Even though I only added some text to the article and saved it.

Change History (4)

comment:1 Changed 12 years ago by Flavien

This may be related, but this:

[[Image:example.png|thumb]]

is replaced by:

<div class="thumb tright">
<div style="width: 202px;" class="thumbinner">
[[/wiki/Image:example.png|[[Image:]]]]
<div class="thumbcaption">
<div style="float: right;" class="magnify">
[[/wiki/Image:example.png|[[Image:]]]]</div></div></div></div>

NB: I've added <br>s for clarity.

which is then shown as:

[[/wiki/Image:example.png|[[Image:]]]]
[[/wiki/Image:example.png|[[Image:]]]]

comment:2 in reply to:  1 Changed 12 years ago by Flavien

More about my previous comment:

Since I've seen that it might be related to FCK editor doesn't work with the new version of WIKI, I should add that I'm running MW 1.11.0 (with the 3 changes in EditPage.php).

comment:3 Changed 12 years ago by barns

Could you try my patch ? See ticket 1294, you should only need the makeImage function.

Note: replace the makeImage function in the file by my version.

comment:4 Changed 12 years ago by Wiktor Walc

Resolution: duplicate
Status: newclosed

It should work soon.

Please continue the discussion in #1293.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy