Current state of ad design

Out of context: Reply #8

  • Started
  • Last post
  • 10 Responses
  • fyoucher11

    Yeh, just use regular old JS to swap out image-based stuff based on pixel density. What I'm doing if using images at double scale if I'm worrying about Retina, but if it aliases too much on normal display from scaling it down, creating a separate clip at normal density, then hiding the hi-res version...and vice versa for hd/retina. Depending on the type of image, that may not even be necessary. But, if you're talking about Retina and vectors, you just render the canvas at twice the size or whatever. I have code which checks for Retina, then renders the canvas at double scale and looks super crisp on those displays.

    As far as layout, that'd you'd do in JS, not CSS, so that may be a pain in the butt.

View thread