change to absolute image path
encrypt image path