Afbeeldingen krimpen en zien er vervormd uit in uitgelichte berichten

The easiest approach is probably to define the component with the the largest reasonable size in the code (maybe 500x500, plus the 1.5x and 2x variants), and then let the browser resize them down when displaying?