create a resource to get pic images
find object in db
print the profile
change to object