Project

General

Profile

Actions

MigrationTo41 » History » Revision 2

« Previous | Revision 2/5 (diff) | Next »
Vasily Bezruchkin, February 02, 2017 00:16


Migration to version 4.1

Smarty

printImage

'printImage' call has been replaced by 'ia_image' function. All the arguments remain the same except the following:

— 'imgfile' parameter should be replaced to just 'file'

— 'field' parameter introduced - standard array with field settings, should be passed where possible. Information how to display the image will be brought from these settings.

- 'type' param can be passed. Default is 'thumbnail', large or original can be also passed

Updated by Vasily Bezruchkin over 2 years ago · 2 revisions