I want to reduce them to a maximum 200px width and keep the same layout with the 10px spacing the photos have. Also I don’t want to style the posts to be that wide and use overflow:hidden that will only cut off the photosets.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
jQuery Solution
For this solution you will need the latest version of jQuery and the jQuery plugin imagesLoaded included in the
headof the theme before the following:What Solution Does
Additional Code for Infinite Scroll
If you are using the Infinite Scroll jQuery Plugin, you will need to additionally include this in your
successcallback function:Obviously, if you’re using Infinite Scroll, I would suggest defining a
functionthat is called on each iFrame on both the initial load and the scroll so you don’t have repeated code to maintain.