Resize uploaded community images and icons

Use the GraphicsMagick library to resize the
community images and the icons to be the size
we want.

Change-Id: I62cebcb8a4713fc2b36df0759663d6b2b5246e74