implemented picture service functions