Add function for know if mimetype is image
#SL4614 First Try