added imagemagick upload