Using the absoule link attachment can be used in anywhere in the forge 
markdowns. This task can be made easy if we add another button in attachment 
button set to copy the absolute link of a specific attachment to clipboard then 
user can easily get absolute link and use with img macro

ideas?


---

** [tickets:#7691] Attached images cannot be embedded in discussion forum 
posts**

**Status:** open
**Milestone:** unreleased
**Created:** Thu Sep 18, 2014 08:11 PM UTC by Anonymous
**Last Updated:** Thu Sep 18, 2014 08:11 PM UTC
**Owner:** nobody


*Originally created by:* t_hoffmann

See for example 
https://sourceforge.net/p/texstudio/discussion/907840/thread/0363a1f4/#9611

I added an attachment named custom_build.png and the following source code: 
`[[img src=custom_build.png]]`

**Expected Result**: The image is shown within the post.

**Actual Result**: an empty placeholder appears instead of the actual image.

**Reason**: My code is converted to a relative url 
`./attachment/custom_build.png`. This expands to an absolute url of
`https://sourceforge.net/p/texstudio/discussion/907840/thread/0363a1f4/attachment/custom_build.png`

But the actual storage location seems to be 
`https://sourceforge.net/p/texstudio/discussion/907840/thread/0363a1f4/9611/attachment/custom_build.png`
Note the extra level `/9611`, which is missing when the relative url is 
translated to an absolute one.





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to