Upload Image Field

edited November 2011 in Modules
Hi,

I have an upload image form field appearing in an html form - even if there are no image fields in the database table. If I output all fields by using print_r($fields) there doesn't seem to be any field there either - so I can't unset it.
Where is this field coming from?
Is an upload image form field included by default?

Thanks
Matt

Comments

  • edited 1:45AM
    ...sorry - can answer my own question!

    Found it was due to this line -

    $fields['image']['class'] = 'asset_select images/projects';

    It was inserting the field for the image upload - even though I now no longer have an image field in the database.
    ....just posting in case it helps someone else!

    Cheers,
    Matt
Sign In or Register to comment.