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.

Document the use of the dir option to define source image location

See original GitHub issue

This is a minor issue but I’m wondering whether its possible to keep images in say assets/images rather than static/images and be able to use them with with these components?

The reason I ask is everything in static gets put in dist and deployed, so my original high resolution source images will end up getting uploaded each time and being publicly available (if the url is known). This increases deployment size and time as source images are generally a few megabytes each. Ideally only the derivative generated images would end up in dist

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
tanccommented, May 17, 2021

@danielroe thanks for the reminder! I’ve issued a PR, hopefully that covers it but feel free to change if I’ve misunderstood anything.

1reaction
tanccommented, Apr 28, 2021

@pi0 thanks for the clarification! I’ll try to write something today

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Media or Image Source element - HTML - MDN Web Docs
A list of one or more strings, separated by commas, indicating a set of possible images represented by the source for the browser...
Read more >
R command for setting working directory to source file location ...
To get the location of a script being sourced, you can use utils::getSrcDirectory or utils::getSrcFilename . So changing the working directory to that...
Read more >
Dockerfile reference - Docker Documentation
A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image....
Read more >
Navigating Files and Directories - Data Carpentry
The cd command takes an argument which is a directory name. Directories can be specified using either a relative path or a full...
Read more >
Add a picture or image file to a SharePoint page
Image of file picker options. Notes: Web search uses Bing images that utilize the Creative Common license. You are responsible for reviewing licensing...
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