| |
ChristopherJam
Registered: Aug 2004 Posts: 1408 |
Image hosting.
Looking back over older posts, occasionally there are inlined images in the post or comments that are no longer available. I myself am not really sure where would be the best place to host images I would like to use as diagrams, as I'd then need to ensure they remained available until such a time as CSDb itself eventually falls.
Does anyone have recs for best practice, or think there is an argument to be made for CSDb itself to host (limited sized) inlined images?
I guess I could always convert VIC output graphs to koalas and release them... |
|
| |
Conrad
Registered: Nov 2006 Posts: 847 |
Base64 encoded data within the img tag? ... example:
|
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
host pics at imgur.com - it wont vanish |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1408 |
That base64 idea's brilliant! I'd never come across that before.
Testing...
|
| |
ChristopherJam
Registered: Aug 2004 Posts: 1408 |
Not sure I trust imgur in the long run - it's only been around for six years.. |
| |
Count Zero
Registered: Jan 2003 Posts: 1926 |
The base64 encoding is indeed a nice way to add smaller images. Not sure about the maximum field size for a post within the database here though. May easily be hit when posting large drama pics :) |
| |
soci
Registered: Sep 2003 Posts: 479 |
It doesn't work in old browsers and there's a limit of 32K, 64K or something similar.
Probably this feature was invented to speed up loading the many social media and sharing icons on blogs ;) |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1408 |
Hmm, so ok for small images.. Are there any stats on user agents hitting up CSDb? Does anyone care about ie6 any more?
Also, not sure if this topic should in 'Feedback' or 'Questions' now - I was sort of angling towards a feature request, but it looks like there are probably enough workarounds for no one to care about adding official support for uploading inline images as first class objects. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
Quote:It doesn't work in old browsers and there's a limit of 32K, 64K or something similar.
thats not a problem. unless you are still using IE8, that actually imposes such arbitrary limits.
that said, posting a 1mb image resulted in an empty post =D |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1408 |
Quote:that said, posting a 1mb image resulted in an empty post =D
That is probably a good thing! Quite happy to have drama pics offloaded to some other server, and a few tens of kb should be sufficient for most serious purposes ;-)
(of course, animated gifs for trying to explain interlace on the other hand...) |
| |
Hein
Registered: Apr 2004 Posts: 945 |
But this site works best in netscape navigator. :/ |
| |
Adam
Registered: Jul 2009 Posts: 323 |
|