test image permission

review changes

rebase and lines