-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.Indicates the request came from a customer.regressionIssue represents a change in behavior from a previous version that is not intended or desired..Issue represents a change in behavior from a previous version that is not intended or desired..
Description
Description
After updating to Optimole v4.0 or later, a conflict occurs with the WP Show Posts plugin.
When using WP Show Posts to display a listing, if the image width and height attributes are set, the listing images appear broken on the frontend. The src attribute does not contain any image URL.
This issue does not occur with Optimole v3.14.1, where the integration works correctly without any problems.
Issue URL - https://varioustrip.s4-tastewp.com/wp-show-posts-issue/
Additional Notes
- The issue specifically occurs when custom width and height attributes are manually added.
- Tested on a clean WordPress installation with only Optimole and WP Show Posts activated.
- No errors were observed in the console; only broken images on the frontend.
Step-by-step reproduction instructions
- Install the latest versions of Optimole and WP Show Posts plugins.
- Create a few posts with featured images.
- Create a listing in WP Show Posts and configure custom image
widthandheightattributes. - Copy the listing shortcode and add it to a page or post.
- View the page — the images will appear broken.
- Roll back Optimole to v3.14.1 — the images will display correctly without issues.
Screenshots, screen recording, code snippet or Help Scout ticket
Reported by: https://secure.helpscout.net/conversation/2917512045/462870
URL: https://varioustrip.s4-tastewp.com
Username: kushnamdev
Password: ZCjNHurJQLk
Environment info
No response
Is the issue you are reporting a regression
Yes, this is a regression.
Metadata
Metadata
Assignees
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.Indicates the request came from a customer.regressionIssue represents a change in behavior from a previous version that is not intended or desired..Issue represents a change in behavior from a previous version that is not intended or desired..