WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
Slider image size (5 posts)

  1. ssbwebmaster
    Member
    Posted 1 year ago #

    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 1014x395 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

  2. paul.a.cunn
    Member
    Posted 1 year ago #

    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.

    http://snag.gy/

  3. Alexander
    Member
    Posted 1 year ago #

    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:

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

    Maybe it is helpful for you.

  4. Daniel Tara
    Member
    Theme Author

    Posted 1 year ago #

    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.

  5. monocommemoi
    Member
    Posted 9 months ago #

    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: http://www.monocommemoi.com

    Is there something else I can try?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic