You are here: Foswiki>Tasks Web>Item13072 (31 May 2016, MichaelDaum)Edit Attach

Item13072: ImagePlugin absolute path

pencil
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: ImagePlugin
Branches:
Reported By: MarcKloter
Waiting For:
Last Change By: MichaelDaum
We're trying to send a topic, that includes images (using ImagePlugin), as newsletter (MailerContrib).

Some Mail Clients don't support base tags, so we need absolute paths as src of the img tag.

Our idea was to use %IMAGE{%ATTACHURL%/myimage.jpg} but this results in a relative path.

Wouldn't it be more consistent if it would be possible to use %ATTACHURL% for absolute and %ATTACHURLPATH% for relative image paths?

Example:

foswiki-logo.gif
the src attribute is a relative path

-- MarcKloter - 03 Nov 2014

Patches welcome.

-- MichaelDaum - 31 May 2016
 

ItemTemplate edit

Summary ImagePlugin absolute path
ReportedBy MarcKloter
Codebase 1.1.5
SVN Range
AppliesTo Extension
Component ImagePlugin
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic attachments
I Attachment Action Size Date Who Comment
foswiki-logo.gifgif foswiki-logo.gif manage 2 K 03 Nov 2014 - 15:09 UnknownUser  
Topic revision: r3 - 31 May 2016, MichaelDaum - This page was cached on 05 Jun 2020 - 19:45.

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