images are now padded correctly