This can be happened due to many reasons. please try each solution one by one.
try to increase memory_limit, after that run the Nginx server
Solution 2 (try this if 1st one does not reflect images on frontend):
try to run this command =>
sudo php bin/magento catalog:images:resize
it will take some time & then run
sudo php bin/magento c:c