$(document).ready(function() {
    $('div.entry').find('img').parents('p').addClass('has-picture');
});
