• hello,

    i’m working on a portfolio site which you can see here: https://isaidicanshout.com/v2/ . i’m manually creating thumbnails because i want to crop them myself. i also have no use for 300px or 150px sizes, but wordpress creates these unnecessary files anyway.

    how can i disable the creation of alternate image sizes?

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You want to decrease the size of the thumbnail? If so, find your thumbnail code…should look something like this <a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" alt="<?php the_title(); ?>"

    Then add a little width=”100″ (change to whatever): <a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" alt="<?php the_title(); ?>" width="100"

    Whatever your image is, wordpress will auto crop it to something smaller based on the width=”” you put into it!

    Thread Starter isaidicanshout

    (@isaidicanshout)

    actually i just want to prevent wordpress from creating ANY additional files. i make my own thumbnails and i have no need for wordpress to create additional scaled images.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘don't create alternate image sizes’ is closed to new replies.