WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When you insert media with the media upload, it will generate images of several sizes according to the media settings. But sometimes I only need thumbnails. Other times I only need medium images. If each post has images that aren't being used, it waste space.

Is it possible to select custom image size to be generated when you open Insert Media?

share|improve this question
    
PS: I mean, for one post, only generate thumbnail, NO medium; for next post, generate thumbnail and medium. – user32161 Jun 8 '13 at 9:06

Scaled images are generated at the time they are uploaded, not when inserted.

You can choose the sizes that WordPress automatically generates for images that are uploaded in your Dashboard Settings under Settings > Media.

Once an image has been inserted using Add Media, you can click the image and then click the edit image icon that appears in the top left of the image. Go to the Advanced tab, and you can set a new size for the image just for that post.

A new image is not created for the individual post, but instead an <img /> element is inserted with the width and height specified.

share|improve this answer
    
Thanks for your reply. – user32161 Jun 8 '13 at 9:03
    
Is it possible to add ON/OFF button on new media page to control functions.php of adding the script by add_image_size( 'medium', 210, 9999 ); – user32161 Jun 9 '13 at 23:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.