(the most useful feature, I believe ) Sketch should have the option to adjust (move around inside a frame) an image. This is by far the most time i wasted in Sketch.
Think about it. I simply wanted to adjust the second card background image. I might go to edit the image manually, maybe on Photoshop. Or I have to use a mask on Sketch, and that makes it ever difficult with the effects on.
Hi there. It’s true that if you place your image as a Fill inside of a rectangle layer, then its position won’t be adjustable.
However, with Frames now a part of the recent update to Sketch, I would encourage you to use Frames to hold your images instead. This way, the images can be repositioned and resized independently of the Frame that holds the image.
I’ve included a quick demo below replicating your situation.
The gradient that is applied directly on the Frame is the Fill, and the Fill is always considered to be the background of the Frame. Any content that is placed inside of that frame will then be layered on top of it.
I can understand your request in this particular case here to have the Fill appear above the content, but there will be other occasions where this would not be the desirable outcome.
I just wanted to add an extra bit I think might help you. You can use Frame templates so you set the gradient and corners once and you can reuse it whenever you need it.
Select a frame and then head to Arrange → Container → Set as Template in the menu bar
You can even add those templates to a library so you can use them in any projects you need. I hope this helps
Hi Brett, this new way of working is nice, it’s pretty much just like masking but a bit simpler.
It’s still doesn’t play very nice with resizing the frame though. As you can’t force an image to keep it’s aspect-ratio, it’s either fixed size or it will scale freely. There’s no way to make it act like Display: Fill mode (‘background-size:cover’ in css).
In this case, it would be nice to use the image as a fill, but then have the option to crop it (non-destructive), or align it using something similar to css ‘background-position’.