CMSMS and retina displays

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am
Location: Finland

CMSMS and retina displays

Post by urheat »

Is there a module for handling retina images? Or what retina image technique would you prefer using with CMSMS?
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: CMSMS and retina displays

Post by hexdj »

I think you could use a combination of Javascript and, if the pixel ratio > 1 then compress use originals (since the highest res would be the ones to be used for retina), if not, then resize them with CGSmartImage by 50%. I haven't done it myself but that's the general idea.
oliverseddon
Forum Members
Forum Members
Posts: 89
Joined: Thu Aug 21, 2008 11:47 am

Re: CMSMS and retina displays

Post by oliverseddon »

I use this, pretty simple method.

http://retina-images.complexcompulsions.com
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am
Location: Finland

Re: CMSMS and retina displays

Post by urheat »

Thanks to all! I like especially the server side solution.

At the moment we are working on a website and using some SVG images in UI. SVG support seems to be quite good nowadays :)
10010110
Translator
Translator
Posts: 219
Joined: Tue Jan 22, 2008 9:57 am

Re: CMSMS and retina displays

Post by 10010110 »

urheat wrote:At the moment we are working on a website and using some SVG images in UI.
Is that instead of “retina support” or in addition to it? Because the pixel density doesn’t matter for SVG since it’s vector graphics. So, if you use SVG, you don’t need any “retina display” detection.
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am
Location: Finland

Re: CMSMS and retina displays

Post by urheat »

10010110 wrote:
urheat wrote:At the moment we are working on a website and using some SVG images in UI.
Is that instead of “retina support” or in addition to it? Because the pixel density doesn’t matter for SVG since it’s vector graphics. So, if you use SVG, you don’t need any “retina display” detection.
Addition of course :)
Post Reply

Return to “Layout and Design (CSS & HTML)”