Top Menu

Jump to content
Home
    • Projects
    • Activity
    • Work packages
    • Calendars
    • Team planners
    • Boards
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums
  • Feature tour
    Feature tour
You are here:
  1. Forums
  2. General discussion

Content

Setting image size/width in wiki

Added by Martin Vincent Bloedorn almost 7 years ago

Hello,

Is it possible to configure the width (or somehow the size) of an image included in the wiki with the !imagename.jpg! tag? Is any other syntax available?

Some images I’m using take up far too much space on the page.

I couldn’t find a solution in the documentation or in other forum posts. Sorry if this was already solved somewhere else.

Best regards,


Replies (2)

RE: Setting image size/width in wiki - Added by Oliver Günther almost 7 years ago

Hi Martin,

I believe there’s currently no active way to do that.

While Textile allows to set styles using a { CSS definitions} syntax : https://txstyle.org/doc/14/images

However, that functionality has been disabled since Redmine due to it opening an XSS attack vector. https://github.com/opf/openproject/commit/35f5e36838952a20693c8d6fa2a926648739a975

Best,
Oliver

RE: Setting image size/width in wiki - Added by Martin Vincent Bloedorn almost 7 years ago

Hello Oliver,

Thanks for the information! Do you know if this functionality is planned for a future release? Would be very convenient (specially when using images from pre-existing documentation sources). :)

Best regards,

  • (1 - 2/2)
Loading...