Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM image size at least 1600×700

This topic contains 3 replies, has 2 voices, and was last updated by  Raul 3 years, 7 months ago.

  • Author
    Posts
  • #26018

    Raul

    Hello Anna,

    I would like to know if you can tell me how to avoid uploading pictures less than 1600×700 (if the pic is less than that or its size is e.g. 300×3000 the listing picture will mess the whole thing) For what can I see, you post the property and then check the size of the picture. I have been testing and testing but the thing is that if the upload is after the posting, when I reject the picture because its size, it will post it no matter what (without the image)

    Also, try to improve the img upload method, because if someone uploads a picture of 100Gb, despite WordPress will reject it, the upload will happend.

    Thank you very much and keep working on this theme, we are about to finish our company thanks to you!

  • #26058

    Anna
    Keymaster

    Hi Raul,

    You can also use this plugin to resize images after upload to a maximum height.

    Resize Image After Upload – http://wordpress.org/plugins/resize-image-after-upload/

    This way, no matter how big images are when uploaded, they’ll be saved in the size you set in this plugin.

    Hope this helps!
    Anna

  • #26068

    raul

    The problem is not with big images, the problem is with the tiny ones.

  • #26102

    Raul

    SOLVED: despite I couldnt find a way to force users to upload an image above 1600×700, I found a way to avoid that pictures on listings deform the page.

    You should create a class in style.css like this:
    .imagenStandard{
    height: 157px;
    width: 220px;
    }

    and add that to the shortcodes.php where says lazyload

You must be logged in to reply to this topic.