Hi,
Just wondering if you ever plan on releasing a version of Image Picker that allows users to have "filtered html" as their default text filtering option instead of the Full Html? I have a lot of users on my site and would like to use this module for them to use with their blogs, but I simply cannot allow them to have access to "Full Html" formatting of text fields. Far too many security problems exist by enabling this, so I was hoping a filtered html version would be in the works.
Let us know,
Thanks!
Comments
Comment #1
hutch commentedJust add
<img>to your HTML filter, and possibly<span>as well, plus any other tags you think they might need.You can configure filters under admin/settings/filters
Comment #2
daphisto commentedAh, very nice. Ok, got the img and span tags all entered into the allowed filter and it seems to work great! The only thing I noticed is that the style align tags were stripped out. :(
Any ideas?
Comment #3
hutch commentedYes, drupal strips inline styling but you could add two classes to your stylesheet and use them instead of float:right and float:left
eg
and use
on the settings page
Comment #4
daphisto commentedHi Hutch,
Thanks for the response! Just wondering, which settings page do I add the classes to? I am not seeing anything on the ImagePicker settings page. I am using 5.x-1.0 of Image Picker.
Thanks,
Comment #5
hutch commentedAt the bottom of
admin/settings/imagepicker
Default Float left code: *
class="imgp-fleft"
Default Float right code: *
class="imgp-fright"
and add the styles to style.css for your theme
Comment #6
daphisto commentedHey Hutch,
Thanks for the tip! Works great!
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.