handling smaller photos