allow extension image chrome, firefox
snippet in php

allow extension image chrome, firefox

user3937

// chrome, firefox
'accept' => 'image/png, image/jpeg'

'type' => 'file', 'class' => 'form-control','label' => __d('static', 'image') . ' ' . __d('static', 'required'), 'multiple', 'accept' => 'image/png, image/jpeg')); ?>