Although it may not be as versitile as the smart object method, another way would be to use clipping masks and grouping.
Let's say you have two black rectangles on separate layers that represent what you call "size Restraint".
In the larger rectangle layer we clip an image using a clipping mask. You clip an image by right clicking the image layer and selecting "create clipping mask", or hover your cursor between the two layers while holding down the alt/option key, you will see the cursor turn into a box with a black angled arrow pointing down, then click.
Now Highlight both layers (click on one layer, hold the shift key, then click on the other layer) and then hit Cmd/Cntrl + G.
Your large rectangle group should look like this:
As long as you have the GROUP selected/highlighted, you can use the Move Tool to move the "size restrained" image around.
Here.....

Here....

Here....
Repeat the same steps for the smaller rectangle!
EDIT: fixed layers panel to avoid confusion