@Alessio_Varalta wrote:
Hi, I have an Ember application that use select2. I have to punt inside the select2 the flags associated with the nation but when I upload the dist folder on apache the image is stored like
Language1-4caa60355ba79094264c91e5c3c921fa.png
so in my didInsertElement
'<span><img src="assets/flag/' + state.id + '.png" class="img-flag" /> ' + state.text + '</span>'
where state.id is Language1 but when I make the build.. ember add to image 4caa60355ba79094264c91e5c3c921fa.png.
So who can I retrieve the image?Thanks in advance.
Posts: 1
Participants: 1