[#3151] Using a clickable image
Summary Using a clickable image
Queue Wicked
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester tasin (at) fhm (dot) edu
Created 12/16/2005 (1119 days ago)
Due
Updated 02/23/2006 (1050 days ago)
Assigned
Resolved 02/23/2006 (1050 days ago)
Attachments wicked-p1-new.diff Download
Milestone
Patch No

History
02/23/2006 Chuck Hagenbuch Comment #5
State ⇒ Resolved
Reply to this comment
Committed, thanks!
12/16/2005 Chuck Hagenbuch State ⇒ Accepted
 
12/16/2005 tasin (at) fhm (dot) edu Comment #4 Reply to this comment
I think clicking on an external link should always use 
/services/go.php. This isn't the case for a clickable image.
An entry like mentioned above [[image .... link="..." ...]] doesn't 
redirect to go.php.

The only thing I'm not quite sure about it (concerning XHTML 
conformance), is the introduction of  the attribute "target=" (i. e. 
the usage of $options['attr']['target']) inside an [[image]] rule, 
because I didn't find a specification for it in Text_Wiki (and other 
Wikis) and this will cause another "dialect" (or let's say: 
"extension").
It would be useful, but if this is against some policy, so simply 
delete the two lines where you find the expression 
$options['attr']['target'].

12/16/2005 Chuck Hagenbuch Comment #3
State ⇒ Feedback
Reply to this comment
What's the goal of this change?
12/16/2005 Chuck Hagenbuch Deleted Attachment: wicked-p1.diff
 
12/16/2005 tasin (at) fhm (dot) edu Comment #2
New Attachment: wicked-p1-new.diff Download
Reply to this comment
Sorry, forgot about your coding standard.
Here's a new one.
12/16/2005 tasin (at) fhm (dot) edu Comment #1
State ⇒ New
New Attachment: wicked-p1.diff
Summary ⇒ Using a clickable image
Type ⇒ Enhancement
Priority ⇒ 1. Low
Queue ⇒ Wicked
Reply to this comment
Using [[image image.gif link="http://www.example.org" alt="Example site"]]
doesn't work in the "Horde" manner.

I will not be quite sure if this is the correct way to handle it 
(especially the two lines, in which I introduced a the attribute 
'target' in an image). So take this as a suggestion.