An attachment containing an image such as "Image name.jpg" contains a space and therefore gets altered to Image_name.jpg.

The resulting link does not get adjusted to match, resulting in a broken link to the image.

The name of the attachment should be not taken from the uploaded payload, but from the rewriten image name.

I noticed this with WysiwygPlugin. Normal attach is fine.

M.


This is specific to Kupu, as it provides the ability to attach images from within the editor screen.

Reattributed to KupuContrib.

CC

I am no longer supporting the KupuContrib. Please use the TinyMCEPlugin instead.

-- CrawfordCurrie - 05 Aug 2008

Kupu has been dropped from NextWiki.

-- CrawfordCurrie - 13 Nov 2008 - 08:39

ItemTemplate edit

Summary Attaching image name containing space results in broken link
ReportedBy TWiki:Main.MartinCleaver
Codebase
SVN Range Mon, 13 Mar 2006 build 9258
AppliesTo Extension
Component KupuContrib
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
I Attachment Action Size Date Who Comment
UK_Cover.jpgjpg UK_Cover.jpg manage 39 K 20 Mar 2006 - 17:58 MartinCleaver Link from Wysiwyg attach
Topic revision: r7 - 13 Nov 2008, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy