Image Upload Control only works with Edit Privilages
Permalink
I have been using the code as below to allow users to select images to add to a list.
Unfortunately it appears that the control only appears properly for users with Edit Privileges on the page on which it is shown. If they do not have these privileges it appears as a link to void(0).
This is a bit unfortunate as I do not wish my users to be able to edit the page content.
I'm pretty sure it's an unintentional bug. Does anyone know a workaround for this?
$al = Loader::helper('concrete/asset_library'); echo $al->image('imageID', 'imageID', 'Select / Upload Image');
Unfortunately it appears that the control only appears properly for users with Edit Privileges on the page on which it is shown. If they do not have these privileges it appears as a link to void(0).
This is a bit unfortunate as I do not wish my users to be able to edit the page content.
I'm pretty sure it's an unintentional bug. Does anyone know a workaround for this?