Prototype LayoutImage
extends: Image
ACTIONS | FUNCTIONS | MACROS | SKINS | TEMPLATES | TYPE.PROPERTIES

Functions
checkDelete(usr, level)
check if user is allowed to delete a Image (overwrites Image.checkEdit())
checkEdit(usr, level)
check if user is allowed to edit a layout image (overwrites Image.checkEdit())
getFile()
return the image file on disk
getUrl()
return the url of the layout image (overwrites getUrl() of image)
 
Macros
LayoutImage.deletelink
render a link to delete action calls image.deletelink_macro, but only if the layout in path is the one this image belongs to
LayoutImage.editlink
render a link to image-edit calls image.editlink_macro, but only if the layout in path is the one this image belongs to
 
Skins
edit.skin
response.action
 
Inherited from prototype Image:
Actions: delete_action , edit_action , main_action
Functions: checkAccess(action, usr, level) , checkDelete(usr, level) , checkEdit(usr, level) , constructor(creator) , createThumbnail(rawimage, dir) , dumpToZip(z) , evalImg(param, modifier) , getFile() , getPopupUrl() , getUrl() , save(rawimage, dir, maxWidth, maxHeight)
Macros: Image.alias , Image.alttext , Image.code , Image.deletelink , Image.editlink , Image.filesize , Image.gallery , Image.height , Image.replacelink , Image.show , Image.url , Image.width
Skins: edit.skin , main.skin , mgrlistitem.skin , preview.skin


type.properties
_extends = Image
_parent = layout.images