Skip to main content
Question

An error ocurring when trying to unsert an image


vita.nasipova

Hello everyone. I’m having a trouble adding second picture to the frame. It either adds instead the first one, if I click on the space on the first picture, or changes the whole frame size, if I click on any other place on the frame or around it. How can I add the second image without changing the whole frame size?

This topic has been closed for comments

11 replies

vita.nasipova

After selecting “Fixed” size on the right sidebar the frame doesn’t “hug” the second picture, but the problem with adding it remains. When adding second picture, it is behind the first one for some reason and also it has second frame in its borders now.


vita.nasipova


SohrabNiroo
  • New Member
  • 188 replies
  • October 28, 2022

First of all, make sure you are connected to the internet in your first screenshot you are not connected to the Figma servers.

It seems you have a layering problem

Don’t add pictures, Drag and drop them into the Figma and then select and make it into a frame by hitting ( Ctrl + Alt + G ) and moving the frame into the first frame. That’s how I do it

your first frame is an auto layout and the second is not, So it can’t Hug the second even if it wants to.

On fixed, there is no Hugging.


vita.nasipova

Thanks for the answer! After I copied the picture the way you proposed, it is still like this - second pic is behind the first pic, and always snaps to the left height of the first frame. It can be set on other position only outside the first frame, if it’s inside I can’t move it.


SohrabNiroo
  • New Member
  • 188 replies
  • October 28, 2022

Your Welcome

As I told you, Your first frame is in Auto Layout and when this feature enables all the content inside will behave as the auto layout settings

If you want to have fully custom-sized:

Select Frame 1 > on the right panel find Auto Layout > Hit - (minus) > then drag Farme 2 into Frame 1

You can hold Ctrl and resize the frame, this way your content inside the frame won’t change size.

Also, I have noticed that your Frame 1 is not the same size as your Image, You can fix it by above solution, I gave you.

I suggest searching Auto Layout in Figma on youtube and watching a video of how it works to fully understand it.

If you need more info feel e free to ask.


vita.nasipova

Thanks again, it explains why the pictures snapped to left and to height. Though the problem with it being placed behind the first one remains. Option “Bring to front” doesn’t help. Why is this happening? What should I do?


vita.nasipova


vita.nasipova

As you can see there’s no auto-layout anymore. What’s wrong?


Timj
  • 82 replies
  • October 29, 2022

Try moving it up the layer stack. The stack is viewed from the top down. Your selected element is at the bottom of the stack so occluded by the content above


vita.nasipova

Thank you so much! It helped. For some reason it kept moving down past Frame 1 every time I moved it on Frame 1.


  • 0 replies
  • November 28, 2022

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings