New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedding as an image #8

Open
loleg opened this Issue Dec 12, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@loleg
Copy link
Member

loleg commented Dec 12, 2018

Design and implement the ability to embed datasets or even search results in the form of an image, performing the output rendering server side. An SVG is probably the easier format, with a library like SVG.js or Python's svgwrite. This will make more sense in a dedicated project if we cannot reuse the code here.

screenshot_20181212-225040 2

A sketch of three possible views (full size/ popup mode, badge, sparkline) has been made at https://wireframe.cc/d7Ipo6

Justification: several potential users have been blocked from implementing this widget by CMS restrictions. Plus, it is clear that for some sites the external scripts - even when CDN'ed - pose a potential performance or security risk. And IFRAMEs are less desirable for accessibility reasons.

@loleg loleg added the question label Dec 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment