• How do you set the images in single-property (property-images) to a certain size, e.g. large or medium?

    `
    echo ‘<li>’ . apply_filters( ‘propertyhive_single_property_image_html’, sprintf( ‘<a href=”%s” class=”propertyhive-main-image” title=”%s” data-fancybox=”gallery”>%s</a>’, esc_attr( $image[‘url’] ), esc_attr( $image[‘title’] ), $image[‘image’] ), $post->ID ) . ‘</li>’;
    `

    This is the code, but it’s not like a typical wp_get_attachment_image, so I’m not sure how to force it to use a specific size image as right now it’s pulling in 4k images.

    Thank you

  • The topic ‘Really large images in the slider’ is closed to new replies.