Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#2737 closed defect (invalid)

Image macro seems to fail for https attachment

Reported by: julie Owned by: Jonas Borgström
Priority: normal Milestone:
Component: wiki system Version: 0.9.3
Severity: normal Keywords: Image macro attachment
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

According to Ticket #359, the

[[Image()]]

macro is the correct way to inline images that are stored as attachments.

However, it appears that this doesn't always work. In the https://ssl.bulix.org/ demo site the syntax

https://ssl.bulix.org/projects/demo/attachment/wiki/BilliBob/Water%20lilies.jpg?format=raw

works (with "?format=raw") but the corresponding Image macro

[[Image(https://ssl.bulix.org/projects/demo/attachment/wiki/BilliBob/Water%20lilies.jpg)]]

does not.

Example: https://ssl.bulix.org/projects/demo/wiki/BilliBob

Attachments (0)

Change History (2)

comment:1 by Emmanuel Blot, 19 years ago

Resolution: invalid
Status: newclosed

The syntax you are using is not valid.

You should not specify the full URL as the Image macro parameter, but a shorter syntax.

Have a look at the documentation: WikiMacros

comment:2 by Christian Boos, 19 years ago

… and I just "fixed" your sample page.

(excerpt)

Here is an image using the `[[Image(...)]]` macro: 

 * The attachment filename must be specified directly
 * The quotes are not necessary (actually they're not supported)

`[[Image(Water lilies.jpg,width=100,vertical-align:middle)]]` => 
 [[Image(Water lilies.jpg,width=100,vertical-align:middle)]] 

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.