Image Assist Image Generation in Image Assist 6.2
Same name and namespace in other branches
- 5.3 img_assist.module \img_assist_image
- 5 img_assist.module \img_assist_image
- 5.2 img_assist.module \img_assist_image
- 6 img_assist.module \img_assist_image
Functions used in image.module vs. img_assist.module (simplified):
- 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
- 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
- rebuilds only a specfic image size (standard or custom size)
File
- ./
img_assist.module, line 1214 - Image Assist module
Functions
Name | Location | Description |
---|---|---|
img_assist_display |
./ |
Create an IMG tag for an image. |
img_assist_popup |
./ |
|
img_assist_render_image |
./ |
Return image HTML. |
_img_assist_build_derivatives |
./ |
Generate a image derivative |
_img_assist_remove |
./ |