---

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

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

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 sourceforge.net because [email protected] is subscribed to 
https://sourceforge.net/p/allura/tickets/

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

Reply via email to