Not working on dynamic image urls
See original GitHub issueHi ,
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:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
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 wheneversrc
attribute value changes.This solution works correctly, but I think that this funcionality is very important for this module. Good job!