Image quality looks lower when viewed in the browser

I uploaded an image database to AWS using WebDirect. The mage looks good when viewed in the client (FileMaker Pro). However, the quality looks lower when viewed in the browser. The container having the images is optimised for images. I tried different web browsers but the result is the same.