Resize images, fix issues with lists