getimage vs direct url from apache

Events happening in the community are now at Drupal community events on www.drupal.org.
jisri's picture

Assuming images gets re-sized when uploaded, why drupal uses getimage to include images and thumbs
if it is much faster to access the images directly through apache?
I always notice high cpu utilization when I load a page full of images.
How can I avoid this and include direct url to all my images?

thanks for any comments or suggestions.

Comments

Helpful info

mikeytown2's picture

If your using a private file system it will use PHP/Drupal to make sure that user has permissions to view that image. Image derivatives happen on request, not on upload. Solutions below

Make re-size on upload happen:
6.x - http://drupal.org/project/imageinfo_cache

Fixes for private file systems:
6.x - http://drupal.org/project/xsend
7.x - http://drupal.org/project/xsendfile