Bitcoin Forum
May 25, 2024, 03:56:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: SPOILER - solution for high bandwith over image  (Read 1651 times)
izanagi narukami (OP)
Legendary
*
Offline Offline

Activity: 2030
Merit: 1028



View Profile
August 03, 2014, 04:34:28 PM
 #1

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



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



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  Grin

Smiley
Initscri
Hero Member
*****
Offline Offline

Activity: 1554
Merit: 759


View Profile WWW
August 05, 2014, 03:02:01 AM
 #2

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.

----------------------------------
Web Developer. PM for details.
----------------------------------
bluefirecorp
Legendary
*
Offline Offline

Activity: 882
Merit: 1000


View Profile
August 05, 2014, 01:08:37 PM
 #3

Images tend to still be loaded, just not visible when you use spoiler tags.

Initscri
Hero Member
*****
Offline Offline

Activity: 1554
Merit: 759


View Profile WWW
August 05, 2014, 04:04:03 PM
 #4

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

----------------------------------
Web Developer. PM for details.
----------------------------------
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
August 06, 2014, 06:09:26 PM
 #5

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. Smiley I think there are scripts which can be used not to load before we click. Anybody know such script?
Kindly,
       MZ

Initscri
Hero Member
*****
Offline Offline

Activity: 1554
Merit: 759


View Profile WWW
August 06, 2014, 06:11:29 PM
 #6

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. Smiley 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.

----------------------------------
Web Developer. PM for details.
----------------------------------
Wangbus
Member
**
Offline Offline

Activity: 110
Merit: 11

Principal Software Engineer


View Profile
August 11, 2014, 11:36:00 PM
 #7

Interesting idea. It'd take a bit to get going on mobile. But this is definitely useful.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!