Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM Images in Property Slider are not as wide as the slider. What should I do?

This topic contains 1 reply, has 2 voices, and was last updated by  kylekysler 1 year, 1 month ago.

  • Author
  • #118831


    This situation is because of the original images uploaded and the resize rules set for those images in general-settings:

    Our slider has these dimensions set in general-settings.php

    add_image_size(‘listing_full_slider’ , 835, 467, true); –> image in property slider – with sidebar

    add_image_size(‘listing_full_slider_1?, 1110, 623, true); –>image in property page slider – no sidebar

    We already have set the option to crop image, but wordpress doesn’t crop images unless you have images with height or width smaller than resize rules height and width.


    Add an image with 380 x 570 format
    Resize rule is
    add_image_size(‘listing_full_slider’ , 835, 467, true);

    The existing resize rule will crop image to fit slider based on 835*467 proportions and image will be cropped like this


    Original image looks like this:


    Existing rules are set to match slider width/height dimensions.

    This is a post that explains how to work with this function in wordpress.

  • #124477


    Regardless of your concern, you seems to have a perfect rendition of the photo.. anyway, I also have the same concern and my minor knowledge in this application still deserves the help of expert I then ask the help of my business service provide and they handles some workaround.

You must be logged in to reply to this topic.