No square picture in glance card

  1. Use a proper formatting for a code (triple “`”).
  2. Seems that you used some card-mod code for Entities card - and then trying to use it thoughtlessly for another card. This is not correct since another card has another structure.
  3. You are going to use card-mod - and yet you created a new thread instead of asking the question in the dedicated card-mod thread. If you would choose the latter way - you will probably attract more people and solutions will be kept in one place, not decluttered in 100500 threads.
  4. In short - it is possible to create square images in Glance card: go to that card-mod thread → 1st post → link at the bottom → styles for Glance card.