image fits inside the block now

images are made to fit inside their parent