web service for gallery sharing built in laravel 4