Open JVT038 opened 6 months ago
I have added two API endpoints:
/api/images/movies/{id}
/api/images/person/{id}
They return a 404 if the ID doesn't exist or if the item doesn't have an image. If the image does exist, then it returns 200 with the raw image data attached in the body.
Part of #572
@leepeuker What do you think about using something like imagejpeg or ImageMagick to compress the returned images?
I have added two API endpoints:
/api/images/movies/{id}
/api/images/person/{id}
They return a 404 if the ID doesn't exist or if the item doesn't have an image. If the image does exist, then it returns 200 with the raw image data attached in the body.
Part of #572