htccs/bitrix_custom_properties_module

Bitrix custom iblock properties module. Allows to resize pictures within iblock section and element context.

1.0.1 2015-03-29 20:48 UTC

This package is not auto-updated.

Last update: 2024-04-08 09:17:58 UTC


README

Module adds picture resizing iblock and user properties.

Classic Installing

  • Download module and place it in /bitrix/modules/custompropertiesmodule/ or /local/modules/custompropertiesmodule/
  • Initialize module in your init.php like this:
CModule::IncludeModule('custompropertiesmodule');

or

 \Bitrix\Main\Loader::includeModule('custompropertiesmodule');

Composer Installing

  • Add "htccs/bitrix_custom_properties_module": "1.0.0-beta" to require section of your composer.json
  • Initialize Composer installing
  • Initialize module in your init.php like this:
CModule::IncludeModule('custompropertiesmodule');

or

 \Bitrix\Main\Loader::includeModule('custompropertiesmodule');

Using

You can see new property types in iblock properties settings and in user properties settings. You can change resize type (resize/crop) and picture height/width in properties settings.