How can I disable aggressive image compression in custom CSS?

Topic summary

Request to disable Shopify’s perceived “aggressive” image compression via custom CSS within a specific section of a theme.

  • Goal: Find a CSS-based code snippet to prevent or reduce image compression for certain images/sections.
  • Context: Store design/customizations for Shopify themes (CSS focus). No technical details, examples, or constraints provided.
  • Artifacts: No images, code, or attachments referenced.
  • Status: No responses or solutions yet; question remains open with no consensus or action items.
Summarized with AI on January 20. AI used: gpt-5.

Hey guys,

Could somebody help me with the image compression issue - Is there a code that I can add to the custom CSS of a specific section to disable the “aggressive compression” that Shopify imposes on images?

Thank you in advance!

Best wishes,

Farid Mirzayev