• Hi, I’ve been scouring Pinboard support forums about controlling the size of images in the slider but I’m obviously not understanding something fundamental!

    I understand that images are meant to be magnified and/or cropped to fit the slider, to a maximum of 1014×395 pixels. However, in my experience, images are expanded to 1014 pix width but are not cropped to 395 pix depth, e.g. I have one image that is 650 pix deep. I have tried the Ajax Thumbnail Rebuild Plugin to no avail.

    Would someone please explain to this poor dolt exactly what the heck is going on?

    (developing on localhost so I cannot provide a link – sorry)

    Thanks, Neil

Viewing 4 replies - 1 through 4 (of 4 total)
  • paul.a.cunn

    (@paulacunngmailcom)

    It sounds to me like you have the dimensions wrong. The dimensions are 1140 by 395. Can you supply a screen shot of the image with 650 height. Use this site to help get you the link to the screen shot so I can help more.

    https://snag.gy/

    Alexander

    (@alexanderbepunkt)

    Hi ssbwebmaster,

    The width of the slider is the size of the blog layout. The heigth (which you referred as ‘deep’) is proportial extended to that width.

    I wrote a tutorial on the explanation of scaling of slider images:

    https://www.mouseclick.com/tutorials-2/adjust-slider-images-and-links/

    Maybe it is helpful for you.

    Theme Author Daniel Tara

    (@pseudoxiah)

    The tutorial above uses CSS hacks which work but aren’t exactly ideal. The simplest way to change the size of the slider images is to modify this function call in functions.php:

    add_image_size( 'slider-thumb', 1140, 395, 1 );

    As you can see you can change the width and height of the images. Then use this plugin to regenerate the thumbnails.

    I changed this
    add_image_size( ‘slider-thumb’, 1140, 395, 1 );
    for this
    add_image_size( ‘slider-thumb’, 960, 400, 1 );

    and used the plugin but still the slider size didnt change at all

    here is my website: https://www.monocommemoi.com

    Is there something else I can try?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Slider image size’ is closed to new replies.