Load images on demand

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: Load images on demand

Post by imkingdavid »

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
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 557
Joined: Thu Sep 07, 2006 11:22 am
Location: Karlsruhe, Germany
Contact:

Re: Load images on demand

Post by bantu »

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.
ToonArmy
Registered User
Posts: 335
Joined: Fri Mar 26, 2004 7:31 pm
Location: Bristol, UK
Contact:

Re: Load images on demand

Post by ToonArmy »

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
callumacrae
Former Team Member
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

Re: Load images on demand

Post by callumacrae »

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

~Callum
Made by developers, for developers!
My blog
Nelsaidi
Registered User
Posts: 122
Joined: Tue Nov 11, 2008 5:44 pm

Re: Load images on demand

Post by Nelsaidi »

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.
User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: Load images on demand

Post by imkingdavid »

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.
Post Reply