add type and size of pic