- This topic has 2 replies, 2 voices, and was last updated 6 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The topic ‘Image Size Questions?’ is closed to new replies.
Home › Community Forums › General › Image Size Questions?
Tagged: default, image size, media library
When inserting media (photo) into a page or post, what determines the default sizes (thumbnail, medium, and large) that are shown in the size pulldown under the Attachment Display Settings within the Insert Media screen?
Also, what image size do you typically upload to the media library when working with a responsive template?
You can find those in the functions file. Depending on the theme you’re using, it should look something like this –
//* Add new image sizes
add_image_size( 'featured-content-lg', 1200, 600, TRUE );
add_image_size( 'featured-content-sm', 600, 400, TRUE );
add_image_size( 'featured-content-th', 740, 340, TRUE );
add_image_size( 'portfolio-thumbnail', 348, 240, TRUE );
So if you want to add your own size, just duplicate and rename one of the sizes above that already exist. The first number is the width, and the 2nd is the height.
“Also, what image size do you typically upload to the media library when working with a responsive template?”
I usually just upload the image at it’s regular size (large) and then whatever I’m using to display the thumbnail will automatically resize it if needed.
Hey Wes, since I’m fairly proficient with Photoshop I tend to like to keep all of my images the same size whenever possible. This also enables me to keep my images fairly consistent, whether I’m using the thumbnail, medium, large, or full size options. Is there an industry best size to use?
Also, I typically upload images at 72dpi, which as you know is the best resolution for screens. How do responsive screens factor into this?