Resize uploaded images appropriately on each page they are used