Image resizing in the wiki

Added by aquiles about 5 years ago

Hi,

while editing a wiki page i wanted to add a image. As redmine guide states it should be possible to size the images with:

!{width:100px}image_url!

Unfortunately, this is disabled since verison 0.8 or so (see http://www.redmine.org/issues/949).

In the same issue one solution is mentioned:

after update to Redmine 0.8.0 picture resize doesn't mork anymore
Just comment (or remove) in wiki_formatting\textile\formatter.rb line:

self.filter_styles = true

Be aware that this "hack" can make Redmine vulnerable to XSS-attacks. See http://www.redmine.org/issues/2416 for the whole story.

Another solution proposed in the same issue is a plugin by someone of the users (http://www.redmine.org/issues/3510)
See the readme of the plugin here (http://github.com/lest/redmine_thumbnails/blob/master/README.rdoc)

I know theres a lot of more important stuff to do at the moment but it would be really nice to have a image resizing or even thumbnailing feature in the wiki. Perhaps you can consider one of the solutions?

greetz,
aquiles