Forum

Thread tagged as: Question

@2x images

I'm wondering if the @2x image gets created by default or if I have something set I'm unware of.

Template:


<perch:content type="image" id="list-image" label="Thumb Image" width="600" height="349" crop="true" order="4" suppress="true" bucket="case-study-thumb" />

Produces:

imagename-w600h349.jpg (as expected) and imagename@2x.jpg (not expected)

I thought I'd need to add the 'density' attribute to get this to happen?

Sarah Evans

Sarah Evans 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

We produce our own internal thumbnails at @2x. Is that what you're seeing?

Ah ok. Is that for the previews within the admin?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, that's right. They shouldn't be turning up in your pages at all.

They aren't, I was just wondering what they were when I saw a aload more assets in my resources than I was expecting to see.

Thanks for clearing that up.