Added creation of medium size images