I’m encountering a problem on a website where uploaded images aren’t loading properly. Some images appear half-cropped or don’t fully load, especially in certain posts where there are several images involved. This issue has become more frequent after recent updates to the theme and custom code adjustments for performance.
Steps Taken:
Here’s what I’ve tried so far:
Checked Image Sizes: Ensured that the images being uploaded are within the required dimensions.
Resized Images: Adjusted image sizes, but the issue persists.
Cleared Cache: Cleared the website cache as well as browser cache, but it hasn’t solved the issue.
Checked the Code: There’s some custom code in the theme for image optimization, which might be interfering.
Details:
Theme in Use: Custom theme with modifications for loading optimization.
Issue Frequency: The problem occurs on various pages but is more noticeable when there are several images on a page.
No Error Logs: Checked the error logs, but nothing significant appeared related to the image loading issue.
Request:
Could this be an issue with custom code or image optimization settings? Any help with troubleshooting image loading, especially with images appearing half-cropped, would be appreciated.