Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    You will need to set custom image sizes as explained here https://wpadverts.com/documentation/custom-image-sizes/

    The code snippet visible there is almost ok, you will just need to replace line

    add_image_size( "adverts-list", 300, 190, true);

    with

    add_image_size( "adverts-list", 300, 190, false);

    Hi Greg,
    may i know where do i paste the codes? e.g init action

    Plugin Author Greg Winiarski

    (@gwin)

    Hi, you can paste it in your theme functions.php file or if you have some more advanced technical skills you can create a new WP plugin and paste the code there.

    thanks i just used the code above.. i had some issues on the photo being cropped while viewing single advertisement so i used the code recommended by other the user to show the whole photo

    #slides1 img {
    max-height: 100%
    }

    also inserted the code for the default photo …

    but now think i messed up my codes, cos when i look on the advert list i can see random sizes and the default image is underneath. here’s the link

    https://pinoybigdeal.com/classified-ads/

    btw how can i hide the search panel on top of my advert list? i want to remove it cos its not working.

    Plugin Author Greg Winiarski

    (@gwin)

    I am not sure, the page you linked to seems fine to me?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need to Stop auto Cropping’ is closed to new replies.