Giter Site home page Giter Site logo

bugzilla-extension--inline-images's People

Contributors

globau avatar pyrzak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bugzilla-extension--inline-images's Issues

Doesn't work with Bugzilla 4.0rc1

checksetup.pl fails in 4.0rc1:

"get_attachment_link" is not exported by the Bugzilla::Template module
Can't continue after import errors at ./extensions/InlineImages/Extension.pm line 25
BEGIN failed--compilation aborted at ./extensions/InlineImages/Extension.pm line 25.
Compilation failed in require at Bugzilla/Extension.pm line 82.

Add configuration option to allow images to be displayed by default.

Currently, image display defaults to off.

If you click 'show images' on a page that has images, then the state of the setting is remembered in a cookie, so subsequent pages automatically show images on load (on the current computer/browser, for as long as the cookie persists).

However, this link isn't necessarily obvious, and users may not notice that this feature is available. It also requires that you manually enable it each time you visit the site from a different machine.

There should be a user preference to 'display image attachments inline'. This should work like other user preferences - a default can be set for the site, and you can specify whether users can over-ride this default, and if they can over-ride it, users get the three options 'site default', 'yes' and 'no.

I imagine all the UI stuff will be handled automatically by Bugzilla and that you just need to define the parameter, and update the code to make use of it.

Thank you!

This still works in 2023 with Bugzilla 5.0.6 under Linux. Thank you. This really should be a feature, a picture is worth a thousand words.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.