Support » Themes and Templates » thumbnail size in default template

  • I am modifying the default template and wish to adjust the size of generated image thumbnails, but cannot locate the parameters. Can someone point me to the relevant module?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Add this to the functions.php file for your theme:

    function custom_thumbnail_size() {
    return 128; // or whatever you want

    The “128” is the default size, and it will be the length of the “long” side of your thumbnail. Change it to whatever number you want.

    Thanks, that works great!


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘thumbnail size in default template’ is closed to new replies.