Welcome Guest, Not a member yet? Register   Sign In
Best way to deal with image thumbnails on news web site (CMS)?
#1

[eluser]Markc[/eluser]
I've been thinking a while about the best solution and as much as I read I get more and more confused. There are a lot of different libraries and helpers (most of them are outdated or for CI 1.x) and I really need your help.

I have a custom CMS, news site that has about 40-50 images on the home page, but 80% of them are really small thumbnails in 3 different sizes and the other 20% of the images on the home page are in 2 sizes + for the inner pages when I list the news from a category there is 1 size of thumbnails. So in total I will need the original image for the news story, + 5-6 thumbnails sizes for the home page.

What's the smartest way to deal with this? There will be let's say 10-50 new news per day.

1. Is it still better to create 5-6 thumbnails per image during the upload?
2. What about the method "on the fly"? I'm more into this method, as I read, only the first visitor will call the library/helper to generate the thumbnails, and for the others the thumbnails will be already created so it won't waste CPU. What about this method? Is it good practice?

What caching techniques I should use for these what I need?

Any help is appreciated.


Messages In This Thread
Best way to deal with image thumbnails on news web site (CMS)? - by El Forum - 11-10-2012, 01:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB