Could you please try putting the code below to "Code injection in footer" field in site settings? <style> .single-media img { max-height: 600px; object-fit: contain; } </style>