question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support the @href attribute for images referenced with URL (not the relative path)

See original GitHub issue

Description

Currently image href attribute only supports relative path on which image is present. If we provide image URL (hosted online) or full path of image on local machine it is getting failed.

<image placement="break" class="- topic/image " alt="Infection" width="570" height="738" href="https://images.pexels.com/photos/1266007/pexels-photo-1266007.jpeg" />

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
drmacrocommented, Nov 15, 2018

I think it would be a pretty serious security exposure to pull resources from external sources.

If you know you can trust the source you could add an extension to do the copying to a local location, for example, by generating an Ant script that is then run before the main FO generation phase.

0reactions
stale[bot]commented, Dec 11, 2020

This issue has been automatically marked as stale because it has not been updated recently. It will be closed soon if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

img tag not working with relative path in src - Stack Overflow
Inspect the img element, right-click on the src and Open image in new tab to see the url that it's trying to get....
Read more >
Can't use relative paths in url() in scss files #12797 - GitHub
I would like to be able to use the relative file path in the scss file. I know this is solved by using...
Read more >
element should not contain relative URL references
Make sure all URLs are absolute, that is, that they include your server name and a full path. This is an example of...
Read more >
Image source: Relative Path or URL? - HTML & CSS - SitePoint
I am writing a web page that uses 16 small JPEG images to compose a much larger image at the top center of...
Read more >
Links, images and about file paths - Code The Web
Images and links both require an understanding of file paths. ... The src attribute of the image is the URL to the photo....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found