Implemented image fill and crop