Recomendations on image hosting services

Discussion of non-phpBB related topics with other users.
Forum rules
General Discussion is a bonus forum for discussion of non-phpBB related topics with other users. All site rules apply.
User avatar
Community Team Member
Community Team Member
Posts: 3480
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Recomendations on image hosting services

Post by thecoalman »

Big Mac wrote:
Sun Apr 08, 2018 3:35 pm
I paid for a 2 GB phpBB hosting package, for three years, but it looks like I need to move over to something like this later. Our hosting company has options to upgrade to 5 GB and 10 GB, but that's it.
Unless they are managing updates/maintenance there is no such thing as a phpBB host. 2, 5 or even 10GB is relatively small amount of disk space by any standards, at least here in the US.
We have got unlimited bandwidth, but it doesn't make sense to have pages grinding to a halt if a user puts a ton of massive pictures in a single topic. I'll have to try to find out how your thumbnails work.
Thumbnails are built in feature on phpBB and have been going back to the orginal attachment mod in phpbb 2.X.

ACP >> Posting Tab >> Attachment settings

Set dimension for the thumbnail and enable them, if you do not have a max image dimension that can be set on this page too. plupload will resize them client side if they exceed the dimensions.
I thought that image caching was just something that end-users had control over. Can image caching be set in the ACP? Or do I have to use something else (like .htaccess) to control image caching?
This is getting into something that is complicated and something I'll be digging into myself in the future. In the header for HTTP response you can set how the image is handled for caching, the browser will cache it based on that but it can cached elsewhere. For example if you are using a service like Cloudflare they can cache it on their network and serve the cache version to the next visitor. This has two advantages, firstly the only resources consumed on your server is for the initial load. The second advantage is a service like Cloudlfare has a global network so someone halfway across the world will get much faster page loads because they are being served cached content from data center near them.

The reason it's complicated with phpBB is images can be in private forums, private messages etc. You need to make sure you are only allowing files to be cached that are viewable by guests.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison

Post Reply

Return to “General Discussion”