Forum Moderators: phranque
this is a file system issue rather than a web server issue.
as far as the file system is concerned, everything is a subdirectory of the root directory, so 1500+ subdirectories is trivial.
Thumbnails and medium versions of the images will all be resized in HTML from a large (775px X 1000px) JPEG.
any resizing needs to be done server-side
it places an unnecessary load on the server.
Better to use their computer resources rather than to stall a server.
But any resizing needs to be done server-side. Otherwise the site will be seen as inexplicably slow-loading. This is not only a human-interface issue; search engines measure page access time too. Your server can resize an image in much less time than it takes a human to download the oversized version.
The down side of this is that it places an unnecessary load on the server. Take for example a page of thumbnails resized by the server from larger images. Server resources are consumed for every image resize which needs to be performed as the page loads.
So if you have 1,000 concurrent users loading one thumbnail page you can have resource issues and how many more thumbnail pages are there to spider and explore?
i have 4 sizes of jpg for each image stored on the server, it works well for me.
why do any kind of dynamic resizing, when space on the server is relatively cheap.
3. I definitely wouldn't serve a larger image and let the browser resize it. Consider a 1MB image... and 50 concurrent users. You're going to need a 100Mb connection to serve them in a decent timeframe. Resizing them server side on *every* request just doesn't make sense.
IMO the point of having smaller images is that you do it once (even client side if you will), but it will be served more than once, so it makes sense to do it.
Confusing thread...
The down side of this is that it places an unnecessary load on the server. Take for example a page of thumbnails resized by the server from larger images. Server resources are consumed for every image resize which needs to be performed as the page loads.
I was struck by the widespread attitude of contempt for the user