fix image cannot upload problem by installing imagemagick