phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Load images on demand

Discuss the future of phpBB. It is still nesting in its mother's womb, but it will grow a little bigger each day. Participate in its design & planning here.

Re: Load images on demand

Postby imkingdavid » Tue May 04, 2010 1:21 am

I agree that this should NOT be included into the core by default. By the time 4.0 rolls around, I'm sure it could be made into a plugin fairly easy. And I'm sure it wouldn't be too difficult of a MOD for 3.0 or 3.1. ;)
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.
User avatar
imkingdavid
Development Team
Development Team
 
Posts: 902
Joined: Thu Jul 30, 2009 12:06 pm

Re: Load images on demand

Postby bantu » Tue May 04, 2010 10:47 am

Kellanved wrote:I see no reason whatsoever for including such a functionality with the core. Users who really want their board to behave in such a fashion can add such a jquery snippet by themselves just fine - even with 3.0.

Note that the bandwidth to be saved is rather marginal - avatars are only loaded once by browsers and subsequently cached.

+1

Also, the example page doesn't show anything with JavaScript disabled.
User avatar
bantu
3.0 Release Manager
3.0 Release Manager
 
Posts: 438
Joined: Thu Sep 07, 2006 11:22 am
Location: Karlsruhe, Germany

Re: Load images on demand

Postby ToonArmy » Tue May 04, 2010 9:00 pm

nn- wrote:For bbcode images this is hardly necessary since those should be browser cached anyway.

Well yes but BBCode images are less likely to be used more than once per page, board images such as avatars and signature images will be used all over the board. But I agree this sort of thing doesn't have a place in phpBB by default, and can easily be added with a template change.
Chris SmithBlogXMOOhlohArea51WikiNo support via PM/IM
Image
User avatar
ToonArmy
Registered User
 
Posts: 335
Joined: Fri Mar 26, 2004 7:31 pm
Location: Bristol, UK

Re: Load images on demand

Postby callumacrae » Tue May 04, 2010 9:41 pm

I don't think this should be included. Sure, it would be good as a MOD, but it should be optional.

~Callum
"In JavaScript, there is a beautiful, elegant, highly expressive language that is buried under a steaming pile of good intentions and blunders"
—Douglas Crockford

View my MOD, phpBB Mobile
User avatar
callumacrae
Website Team
Website Team
 
Posts: 883
Joined: Tue Apr 27, 2010 9:37 am
Location: England

Re: Load images on demand

Postby Nelsaidi » Tue May 04, 2010 10:40 pm

Shouldnt be included - not something most boards would need, whilst some may need it (especially to control image loading, many posts on the same page, sometimes images are loaded simultaneously (spelling), so takes a while)

As a MOD/Plugin very easily done, as standard it would be an annyoance.
Nelsaidi
Registered User
 
Posts: 122
Joined: Tue Nov 11, 2008 5:44 pm

Re: Load images on demand

Postby imkingdavid » Wed May 05, 2010 2:19 am

Nelsaidi wrote:Shouldnt be included - not something most boards would need, whilst some may need it (especially to control image loading, many posts on the same page, sometimes images are loaded simultaneously (spelling), so takes a while)

As a MOD/Plugin very easily done, as standard it would be an annyoance.

+1. With the way 4.0 is being done, most features can quite easily be plugged in at will. So making this part of the core would make such plugging in more difficult, imo.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.
User avatar
imkingdavid
Development Team
Development Team
 
Posts: 902
Joined: Thu Jul 30, 2009 12:06 pm

Previous

Return to [4.x] Discussion

Who is online

Users browsing this forum: Shayariel, Vinny and 6 guests