resize pictures (issue #2)