update api
add markup for detail
handle image click in detail.dart