Welcome Guest, Not a member yet? Register   Sign In
Getting a photo of inside an Album for icon
#7

[eluser]JoostV[/eluser]
You use 'SELECT albums.*' when you should be using 'a.*' => because later on in your query you reference table albums as a.

I always create one or more thumbs when an image is uploaded, and I display these whenever I need a thumb. This way, the thumbs are already on your filesystem.

Most of the times, I create
- big image
- medium image
- thumb
- square thumb, squared from the center
I set the sizes in a config file, so that I can adjust them for every app.

Creating thumbs on-the-fly is too much of a burden on your server's CPU.


Messages In This Thread
Getting a photo of inside an Album for icon - by El Forum - 12-05-2009, 08:22 AM
Getting a photo of inside an Album for icon - by El Forum - 12-05-2009, 09:37 AM
Getting a photo of inside an Album for icon - by El Forum - 12-05-2009, 09:58 AM
Getting a photo of inside an Album for icon - by El Forum - 12-05-2009, 11:29 AM
Getting a photo of inside an Album for icon - by El Forum - 12-05-2009, 04:13 PM
Getting a photo of inside an Album for icon - by El Forum - 12-05-2009, 04:44 PM
Getting a photo of inside an Album for icon - by El Forum - 12-06-2009, 01:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB