Developer's Manual  Blocks  Property types  picture

picture

Allows selecting image file from server disk.

The difference between image and picture types is that picture returns <img> tag.

Example

<?
$properties
= Array(
  
'image' => Array(
    
'type'     => 'picture',
    
'value'    => '',
    
'label'    => 'Icon'
  
)
);
?>

The picture type has File Manager assigned to it.

Please login to add comments.