Support the @href attribute for images referenced with URL (not the relative path)
See original GitHub issueDescription
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:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
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.