Image Assist Image Generation
Functions used in image.module vs. img_assist.module (simplified):
image.module:
- image_display()
- is called for galleries, image nodes, image blocks, etc
(everytime in image is shown)
- returns <span ...><img ...></span>
- can be passed a specific standard size only
- may call _image_build_derivatives()
- calls theme_image() to create the <img> tag
_image_build_derivatives()
- rebuilds all standard image sizes for a particular node
img_assist.module: (more complicated, but more flexible)
- image_display()
- is called for thumbnails browsing, inline images, etc (everytime in image is shown)
- returns <span ...><img ...></span>
- can be passed EITHER a specific standard size only OR a custom size
- may call _image_build_derivatives()
- calls theme_image() to create the <img> tag
_image_build_derivatives()
- rebuilds only a specfic image size (standard or custom size)
Functions