Revert "getting picture from database"

This reverts commit 0b5d58a23b442d1f44efaf25525f63e9ed2a683e.
revert and committed