CBlogImage Class

CBlogImage class is used to work with images, attached to blog posts.

Method Description Available from version
Add Adds new images to a blog post.
Update Updates image.
Delete Deletes image.
GetList Returns list of images by the filter.
GetByID Returns single image by its ID.
CheckFields Verifies whether parameters are correct to complete different operations (ADD, UPDATE, DELETE).
ImageFixSize Verifies if the image matches to specified maximum dimensions. If dimensions are exceeded - reduces the image to the required dimensions.
AddImageResizeHandler Registers "main.file.input.upload" event handler for "main" module.
ImageResizeHandler Event handler "main.file.input.upload" for "main" module.

© «Bitrix24», 2001-2024