Img in ionic cordova popover component does not show

Ricky

New Member
#1
I would like that when a user presses a button in the app, a popup opens. This popup shows several rounded filter options(pictures infront of an invisible checkbox ) which are are changing when pressed. Something like this:

3C7EM.jpg

The problem is that somehow I am not able to see the img in the popover component in ionic cordova while the popover element works fine otherwise. Is it actually possible to do that in ionic?

Here is my code snippet:
Mã:
<div class="filter-buttons">
<div class="metal">
  <input type="checkbox">
  <label>test</label>
  <img src="heavy.jpg" alt="stuff" height="42" width="42">
</div>
I also tried it as background in css:
Mã:
.metal{
    background-image: url("heavy3.jpg");
}
 
Top