if images is size 0, generate a random size between 50 and 150