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.

Not working on dynamic image urls

See original GitHub issue

Hi ,

So I was scratching my head on the following until some debugging made me realize that the file was not stored at all or can’t be shown for the below.

<img-loader [useImg]="true" src="http://placehold.it/1200x960"></img-loader>

Curious how to fix that.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ihadeedcommented, Feb 17, 2017

Regarding the initial issue here (dynamic URLs): I added a new attribute that disables caching. You can add noCache attribute or [cache]="false" to disable caching.

And in regards to handling src changes it’s fixed too, now it will change the image whenever src attribute value changes.

0reactions
sergiomedinavalentincommented, Feb 17, 2017

This solution works correctly, but I think that this funcionality is very important for this module. Good job!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue.js dynamic images not working - Stack Overflow
I got this working by following code getImgUrl(pet) { var images = require.context('../assets/', false, /\.png$/) return images('./' + pet + ".png") }.
Read more >
Dynamic image not displaying with src - Wappler Community
Hello I have been trying to display the dynamic image like it showed the documentation but it is not working for some reason....
Read more >
Solved: Map Viewer dynamic image urls do not display as Me...
When I click on the image to go to it directly in the browser, I can see the {field_name} is not populating in...
Read more >
SOLVED: Image URL php dynamic data not working - Bugs
When trying to use the image URL from a dynamic PHP function it's not working, there is an option to enter an external...
Read more >
Setting image url of dynamic image not working - Discuss
The Image component doesn't allow you to preview MediaFire images. You can upload the image as an asset file and setting the Picture...
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