RE: Not getting the actual img file url placed in themeDeveloper tool in local system.
I have some images in assets folder of theme developer tool. I want to all of them in a row,so i put their names in an array in home.view file and tried to iterate through the array and get their url using ‘getThemeAssetsPath’ and assign it to src attribute. But its making request to live server instead of local server for image url. while when i place only one name like this ( {{getThemeAssetsPath ‘img/desk.png’}} ), it making request to local server and showing the image. Can someone tell me where i was doing wrong ?
Hi, i was able to reproduce your issue, a quick solution that I found I using getThemeAssetsPathWithDefault instead getThemeAssetsPath, let me know if that works for you.
Thanks
{{#each iconsUrls}}
{{getThemeAssetsPathWithDefault this}}
{{/each}}
sohan Kumar
@martin it didn’t worked. Still making request to production site.