updated gallery for new tinymce