addImage: Implemented generateAliasFromData - Related to #99 and #300