This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Kai Daniels
Posted Aug 20 - Read on Facebook

Does anyone know why my asset is clipping like so? For the life of me I can't figure it out…


David Louie

Try explicitly defining width and height on your layers. If you don't define it, then the layer is just 100 by 100 by default and might be stretching your image.

Balraj Chana

Hey Kai, from what I understand, the image property does not alter the size of its content so you'll need to use CSS instead. Just replace your NextFab object with the following:

NextFab = new Layer
[tab] style: "background" : "url(images/NextFab.png) no-repeat center"

Kai Daniels

Perfect Balraj! Also thanks for the suggestion David!

Read the entire post on Facebook