Turns action buttons unsensitive when no more images left.
Keeping the images aspect ratio with a really simple algorithm