[magnolia-dev] Re: Different Image-Variation for Retina-Displays

2017-04-10 Thread Philipp Roland (via Magnolia Forums)
Hi Jordie Thanks (and sorry for my late answer). Will give it a try. Roland -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=4881b7c4-b70e-4b10-baf5-4a9b3d23c11c For list details, see:

[magnolia-dev] Re: Different Image-Variation for Retina-Displays

2017-03-24 Thread Jordie Diepeveen (via Magnolia Forums)
Hi Roland, A solution will be to get the 2 different image variations in the freemarker template and let your front-end code render the correctly image. You can e.g. set the retina image on a data attribute in the freemarker template: [code][#assign image = damfn.getAssetLink(content.image,