You are here

Image Assist Image Generation in Image Assist 5.3

Same name and namespace in other branches
  1. 5 img_assist.module \img_assist_image
  2. 5.2 img_assist.module \img_assist_image
  3. 6.2 img_assist.module \img_assist_image
  4. 6 img_assist.module \img_assist_image

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)

File

./img_assist.module, line 1181
Image Assist module

Functions