Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with WooCommerce images #266

Closed
thisisbbc opened this issue Dec 10, 2015 · 4 comments
Closed

Problem with WooCommerce images #266

thisisbbc opened this issue Dec 10, 2015 · 4 comments

Comments

@thisisbbc
Copy link

Hi there,

Since WP4.4 our product images are not displaying appropriately and are being cropped. I've read quite a bit on the changes related to responsive images but I'm still not too sure how the whole thing works and how to alter its behavior.

We're supposed to have square images and so far I haven't been able to fix this.

Any help would be appreciated!

URL : http://goo.gl/zhzIV9

Regards,
B

@jaspermdegroot
Copy link
Member

@thisisbbc

What page exactly should we look and on what device and browser do you experience the problem? I just checked on a MacBook with Retina screen in Chrome browser and I do see square images in your shop.
Since you're not using the plugin but notice the problem with WordPress core it's probably better to open a ticket in the WordPress issue tracker.

Off topic: Whatever script your site is using to speed up scrolling ... it's killing your site. I can't scroll your pages normally with the trackpad on my Mac.

@thisisbbc
Copy link
Author

@jaspermdegroot thanks a lot for the quick reply. I've been experiencing the problem on all single-product pages on desktop with Chrome v47.0.2526.73m and v47.0.2526.80m. I'm also able to replicate the issue using Edge. Firefox and Safari however does load a square image.

It's definitely a good idea to submit the issue in the WP trac so I'll do that right now.

Also thank you a lot for pointing out the problem with our scrolling script. Since I don't have a mac around it's hard for me to test this platform. The module was included in Ultimate Addons for Visual Composer. I have deactivated it to put back an older smooth scroll library, hopefully it'll fix the issue with the trackpad.

Kind regards,
B

@joemcgill
Copy link
Member

Hi @thisisbbc,

Thanks for reaching out. I commented on your report in the WP.org repo and it looks like there may be another plugin or something in play that is affecting the image markup. The issue you're experiencing is happening because there is an image in the srcset that shouldn't be there, but there are also various data- attributes being added as well, which makes me think something else might be in play.

If this issue is still reproducible after turning off plugins and switching to a default theme, then it would be interesting to see what is saved in the attachment metadata for those images, (e.g., the output of wp_get_attachment_metadata).

Thanks,
Joe

@joemcgill
Copy link
Member

Looks like you reported the issue on the WordPress Trac as well, which is probably the best place to resolve this issue, so I'm going to close this for now and we can move discussion over there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants