Author

Topic: base64 images (Read 1550 times)

hero member
Activity: 896
Merit: 508
January 13, 2016, 04:49:15 PM
#13
If we were allowed to host images directly on the forum there would already be a feature integrated within the forum. That's the exact same reason why the forum only accepts pictures from third party hosters. Mainly because of security reasons though...
"A picture says more than a thousand words" - that's true. Pictures can even take more space than millions of words to store on the server. And bitcointalk already needs to handle the "text" traffic and storage.
If we would start using base64 images all over the forum and let the forum store all the images, these images will get banned in no time.

And I really don't understand why people would want to let an image stay on a thread/post forever...

However, the forum could integrate an automatic system that uploads the image directly to imgur, etc and get the link instantly. (Like the browser extention I saw some time ago. I think it was Bitcointalk+ or something like that :/)
legendary
Activity: 2324
Merit: 1267
In Memory of Zepher
January 13, 2016, 11:18:05 AM
#12
There are better ways to solve the problem than getting the forum to host the image for you via a hack. How about tor hidden services? Magnet links?
I think the problem with both of those is that they would put more strain on the server than base64 would as they would require other software to work.
Using a tor hidden service would require some sort of mirror from darknet to clearnet (which is also unreliable; the majority of tor2web mirrors currently only work on certain browsers) and using a magnet link would require a torrent client to be not only getting the images available to view but seeding them to be sure that they do not die.
hero member
Activity: 700
Merit: 500
January 13, 2016, 10:42:52 AM
#11
There are better ways to solve the problem than getting the forum to host the image for you via a hack. How about tor hidden services? Magnet links?

Tor hidden services aren't ideal for hosting and sharing content. I'm not sure about what you have in mind for image hosting, but from personal experience I'd say that .onion sites have a hard time competing with clearnet ones in terms of uptime and general reliability. Wouldn't it also require a "hack" to display images hosted using "hidden services" here?

As of magnet links, I could think of some issues but first of all, has a way to host and embed images using magnet links been developed yet?
legendary
Activity: 2058
Merit: 1431
January 12, 2016, 11:14:48 PM
#10
There are better ways to solve the problem than getting the forum to host the image for you via a hack. How about tor hidden services? Magnet links?

Would there be a way that we could encode those images as text but not have to take up so much space? Something that makes it at least the size of the image, if not smaller, but definitely not bigger.
Images are big to begin with and jpg/png images are already compressed, so it's not like you can make it smaller. You can use more exotic encoding schemes to squeeze more bytes into a singe character, but that doesn't help much.
sr. member
Activity: 256
Merit: 250
CSGOBetGuide.com - Esports Gambling List
January 12, 2016, 10:09:06 PM
#9
If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.
Wouldn't that take up more resources (i.e. storage) for the forum?

That's true. Base64 increases the size of images nearly 30%, and if we wanted to cut off middlemen to take advantage of the pros I mention it should be hosted on the forum as text. Thing is, the forum is already storing quite a lot of text, base64 would likely end up being used by advanced users which imo wouldn't be a big percentage. The main advantage would be that images using base64 would stay up as long as the forum does, plus there's not going to be any need for proxying (which has proven to be unreliable).
Would there be a way that we could encode those images as text but not have to take up so much space? Something that makes it at least the size of the image, if not smaller, but definitely not bigger.
hero member
Activity: 764
Merit: 500
I'm a cynic, I'm a quaint
January 12, 2016, 08:38:52 PM
#8
In the spirit of decentralization I have to suggest that you host your own images. That will bypass the "image host come and go" and "image hosts tend to delete controversial images". I am not familiar with details around the image proxy, so that may still be a problem Tongue
hero member
Activity: 700
Merit: 500
January 12, 2016, 04:04:54 PM
#7
If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.
Wouldn't that take up more resources (i.e. storage) for the forum?

That's true. Base64 increases the size of images nearly 30%, and if we wanted to cut off middlemen to take advantage of the pros I mention it should be hosted on the forum as text. Thing is, the forum is already storing quite a lot of text, base64 would likely end up being used by advanced users which imo wouldn't be a big percentage. The main advantage would be that images using base64 would stay up as long as the forum does, plus there's not going to be any need for proxying (which has proven to be unreliable).
legendary
Activity: 2324
Merit: 1267
In Memory of Zepher
January 12, 2016, 03:51:30 PM
#6
Wouldn't that take up more resources (i.e. storage) for the forum?
Yes; base64 images are just huge blocks of code.

For example, the base64 for Grin is:
Code:
data:image/gif;base64,R0lGODlhDwAPANUAAAAAAMyZAH9yAMzMzFFIAIaGhjEoAFxcXP/MAGZmZv///5mZmbiUAOLIABwaAEY9AK2KAP/wAGlUADs7Ow4LAODg4NywAL+/v+7hAP/cAL+mAIB4AGBOAMezAHNcACkiADozAOy9ALCrAPbFAJ1+AK6uru3t7b+6AGJaAP/mADMzAIqKimZmZnlhAOzRAP/4AH94AFlHAFJCABEQAMyjAKKiorydAOfn50U9AP/WACMcACsoAG1XAPDnANC0AJmZmSH5BAUUAD8ALAAAAAAPAA8AAAaowJ/wd5DNADPCYTgsGBwCn+vU+qgKzZkEkUulIhEMaob9GTzcjDfyahNUxM/IZgAIIgKA6tSbFVsIHAwZAikbPSIoESgEMzQIaWpgkx1HIQAUVg8gIDs7DjMNSDQUNyYAA6kAFQM4GjMyHhIrCgAKt7Y1HhwyBx8WIBe2uAMTNn5mEgy9CxclCQY2MQZCBbAjELIeJBZGZT9OWgEhATwOBt9DRUewS0NBADs=
As you can imagine, the bigger the image the more base64 needed and the more needed to store.
legendary
Activity: 2674
Merit: 2965
Terminated.
January 12, 2016, 03:26:41 PM
#5
If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.
Wouldn't that take up more resources (i.e. storage) for the forum?
legendary
Activity: 2324
Merit: 1267
In Memory of Zepher
January 12, 2016, 02:08:11 PM
#4
What specifically would base64 images help?
If the image is hosted onto a website and the website goes down, the image would likely be removed from the post. If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.

I think the problem comes in that it would take more effort to implement than it would be worth; very few users would use the base64 system. Perhaps suggest it in the New Forum Software board, but don't get your hopes up.
legendary
Activity: 1666
Merit: 1183
dogiecoin.com
January 12, 2016, 01:28:01 PM
#3
What specifically would base64 images help?
hero member
Activity: 700
Merit: 500
January 12, 2016, 12:28:51 PM
#2
bump, I guess.
hero member
Activity: 700
Merit: 500
December 30, 2015, 06:54:30 PM
#1
Several issues with how the forum handles images right now: Image hosts come and go, bitcointalk's image proxy isn't the very reliable, popular image hosts tend to delete controversial images.

I think that allowing base64 images to be posted could help solve those problems, at least for those willing to use the em.
Jump to: