Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a WordPress theme built with Masonry script , I added a new template file for list gallery, is working ok in FF and IE but in Google Chrome gallery images (inside containers) are overlapped.

Seems like the content is loading faster than images but they don't adjust afterwards.

share|improve this question
    
I did not migrate the question because it is too vague. The description does not allow anyone to recreate the problem, so it is hard to imagine how any future visitor could benefit from it. –  toscho Aug 3 '12 at 5:37
add comment

closed as off topic by anu, Michael, toscho Aug 2 '12 at 18:54

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 0 down vote accepted

I can't find any reference about it but it seems Google Chrome (v 21.0.1180.60) do need specified image sizes, in image tag or passing this in css (either class or local):

style="display:block;width:333px;height:333px"

Or:

container.img { display:block;width:333px;height:333px }

Maybe this issue has something to do with this question, but I'm not sure.

They say images need width and height info in image tag, but some themes/plugins around aren't even informing alt tag.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.