[Design-team] GlitterGallery: Feedback on image annocation

Aditya Prakash aditya.prakash132 at gmail.com
Thu Oct 15 13:29:27 UTC 2015


Hi,

I am not sure if you guys have ever heard of GlitterGallery
<https://github.com/glittergallery/GlitterGallery>. It is a git hosting
website (yeah! yet another one). Instead of code view, we show image view
of your git repo. I was putting together last feature before maintainers of
the project went completely unresponsive (I am a contributor). I need your
help in deciding something, cause in the end you guys will be using it.

I am using annotorious <https://github.com/annotorious/annotorious> to
implement image annotation. You can have an idea of how it would work, here
<http://annotorious.github.io/demos/hello-world.html>. For annotations to
persist on page reload, I need to store complete img tag in database. This
means that img tag has to be as small as possible. Closest solution was
that I change blob of image (blob is kinda like string equivalent of your
image. This is what get stored in your git repo) to an image file. However,
support to change blob to file seems to broken for svg in rmagic (check #226
<https://github.com/rmagick/rmagick/issues/226>). I can get around this if
I change svg files to png.

I wanted to ask, if I serve your svg files as png, can you guys roll with
it? I won't be tampering with your repo, I will be just serving your svg
files as png on our website.
If anyone would like to discuss implementation details, they are welcome
here: #309 <https://github.com/glittergallery/GlitterGallery/issues/309>

Thank you,
Aditya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/design-team/attachments/20151015/1e80bc5c/attachment.html>


More information about the design-team mailing list