Okay
  Public Ticket #374077
Change portfolio thumb sizes
Closed

Comments

  • Ian started the conversation

    Hello, is there a way to have a gallery with smaller thumbnails and more columns?

    For example, I want the top gallery on this page to have images half the size of the other galleries and therefore twice the number of columns.

    I am comfortable editing css, php, etc.

    Thank you,

    ian

  •  8,848
    Tahir replied

    Hey!


    It would require adding a new image size. The gist of the mod would be:

    1. opening the functions.php - where you can add the new image size.
    2. opening nectar/tinymce/shortcode-processing.php - where you can add the image size to the relevant shortcode.
    3. Running this http://wordpress.org/plugins/regenerate-thumbnails/ to generate the new sizes for it.

    Thanks


    ThemeNectar Support Team 

  •  8,848
    Tahir replied

    Hey!


    It would require adding a new image size. The gist of the mod would be:

    1. opening the functions.php - where you can add the new image size.
    2. opening nectar/tinymce/shortcode-processing.php - where you can add the image size to the relevant shortcode.
    3. Running this http://wordpress.org/plugins/regenerate-thumbnails/ to generate the new sizes for it.

    Thanks


    ThemeNectar Support Team 

  • Ian replied

    Hi Tahir, thanks so much for the tip! I think I am close. I followed your steps, and when I inspect the rendered webpage, it is definitely using the new image size I setup, however, I think there is something else telling the columns to be equal in width to the normal portfolio items, because the images still appear the same size (even though the resolution of the images is changed to the smaller size)

  •  8,848
    Tahir replied

    Hey Again!

    Please see screenshot: http://prntscr.com/68sygh . You will have to edit the "saleint/js/init.js" specifically the reLayout function.

    Thanks


    ThemeNectar Support Team