Responsive Images from S3 has no srcset
My Production server has blurry images. Turns out, the image rendered has missing srcset. Upon searching, I checked that the images uploaded was not on the server where I host my wordpress but was uploaded to S3. I think the reason why it was uploaded to S3 is because of the plugin Media Cloud where it will automatically upload the images to S3 instead. I would like to know how to tell wordpress that it needs to fetch srcset from S3 source rather than wordpress uploads folder.
-
Also, this is only on my production server, not in my local and development.
-
Another thing is not all images are uploaded to S3. Old images are still available from the wordpress uploads folder.
For 1, I know I need to add the condition to check env but that’s it.
Leave an answer