fix gallery, still won't work if no imagemagick intalled, without saying anything