pyrzak / bugzilla-extension--inline-images Goto Github PK
View Code? Open in Web Editor NEWAllows users to display images inline
Allows users to display images inline
I've just installed the InlineImages extension on Bugzilla 4.2, and was getting this error.
It seems to be that NAME is defined twice - in Config.pm and Extension.pm
The fix is to remove the second declaration, in Extension.pm on line 28, which is currently as follows:
use constant NAME => 'InlineImages';
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.