Bitcoin Forum

Other => New forum software => Topic started by: izanagi narukami on August 03, 2014, 04:34:28 PM



Title: SPOILER - solution for high bandwith over image
Post by: izanagi narukami on August 03, 2014, 04:34:28 PM
hello, i want to suggest a new feature for BTT
i call it SPOILER
how it work ?

As we know every thread will be more informative if we add an image.
What will happen if you add many image or high resolution image ?
Of course it will consume our internet bandwitdh.
Spoiler feature will act like "warning" before you decide to open the image or not
and it can also speed up a loading thread if the thread full of image

I show you the SPOILER feature from my local Forum

https://i.imgur.com/QFHnHAn.jpg

then if you click the "show" the result will be like this

https://i.imgur.com/xfe7hLv.jpg

the code
Code:
[spoiler = <your text>]....your text...or your image link..[/spoiler]
example :
[spoiler=beware bandwitdh killer inside]http://static3.aintitcool.com/assets2012/aicncomics/hauntinghelena1.jpg[/spoiler]

thanks for visit my thread  ;D


Title: Re: SPOILER - solution for high bandwith over image
Post by: Initscri on August 05, 2014, 03:02:01 AM
I could see this on mobile devices with lazy-loading.

However, with actual computers (not mobile) I think this should be an option defaulted to false. I, personally, don't like spoilers because they take extra time to open and I can handle the bandwidth.

TL;DR: Good idea, but keep it as an option.


Title: Re: SPOILER - solution for high bandwith over image
Post by: bluefirecorp on August 05, 2014, 01:08:37 PM
Images tend to still be loaded, just not visible when you use spoiler tags.


Title: Re: SPOILER - solution for high bandwith over image
Post by: Initscri on August 05, 2014, 04:04:03 PM
Images tend to still be loaded, just not visible when you use spoiler tags.

Based on the development process, they can be lazy loaded. Not all spoiler plugins or scripts use this process though.

More Info:
http://en.wikipedia.org/wiki/Lazy_loading
http://www.appelsiini.net/projects/lazyload


Title: Re: SPOILER - solution for high bandwith over image
Post by: Muhammed Zakir on August 06, 2014, 06:09:26 PM
Images tend to still be loaded, just not visible when you use spoiler tags.

+1.
You're right. It will be preloaded though it doesn't show. When you click, it will show. IMO it won't reduce bandwitch but can see the posts easily in phones and all. :) I think there are scripts which can be used not to load before we click. Anybody know such script?
Kindly,
       MZ


Title: Re: SPOILER - solution for high bandwith over image
Post by: Initscri on August 06, 2014, 06:11:29 PM
Images tend to still be loaded, just not visible when you use spoiler tags.

+1.
You're right. It will be preloaded though it doesn't show. When you click, it will show. IMO it won't reduce bandwitch but can see the posts easily in phones and all. :) I think there are scripts which can be used not to load before we click. Anybody know such script?
Kindly,
       MZ

Just lookup what I posted above about "Lazy Loading". http://www.appelsiini.net/projects/lazyload to be more exact.


Title: Re: SPOILER - solution for high bandwith over image
Post by: Wangbus on August 11, 2014, 11:36:00 PM
Interesting idea. It'd take a bit to get going on mobile. But this is definitely useful.