Add Image Expansion.
Close #314.
Close #481.