Modify

Opened 9 years ago

Closed 9 years ago

#12377 closed defect (worksforme)

Can not reference local picture attachment

Reported by: massimo.b@… Owned by:
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

I can't reference locally attached pictures like this:

[[Image(master_01.png​)]]

I'm not sure if this is expected, but on the FullBlogPlugin that works.

It is still annoying that the first post cannot attach pictures. So for the FullBlogPlugin I usually add the attachment in the 2nd step and re-edit the first post afterwards.

For the DiscussionPlugin I cannot get it working at all. I also tried relative references like

[[Image(https://project-pb/trac-pmp/attachment/discussion/topic/2/master_01.png​)]]
[[Image(attachment/discussion/topic/2/master_01.png​)]]
[[Image(discussion/topic/2/master_01.png​)]]

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by massimo.b@…

I'm using current discussionplugin/0.11/ from svn.

comment:2 in reply to:  description Changed 9 years ago by anonymous

For the DiscussionPlugin I cannot get it working at all. I also tried relative references like

...
[[Image(discussion/topic/2/master_01.png​)]]

DiscussionPlugin#Attachments says:

[[Image(discussion:topic/<topic_id>:<filename>)]] 

Then, try [[Image(discussion:topic/2:master_01.png​)]] (use colon characters, not slash characters)..

comment:3 Changed 9 years ago by massimo.b@…

Thanks. Solved.

comment:4 Changed 9 years ago by Jun Omae

Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.