I keep adding a photo to a post in the Prose child theme, but the theme resizes the image so it doesn’t stretch across the width of the post. Is there some code somewhere I can add to make images fit the post? Where would the code go?
Otherwise, where is the setting to control this. I looked at the various settings and couldn’t find out how to prevent this automatic resizing. The image was big enough to fit the width of the post. I looked at the code in the post, but my manipulations prevented the photo from being displayed.
At two places you can configure media (images) size settings:
1. In WordPress dashboard goto Settings > Media
2. Goto Apperance > Edit and open functions.php file – then look for following code:
/** Add new image sizes */
add_image_size( ‘home-bottom’, 110, 110, TRUE );
add_image_size( ‘home-middle-left’, 280, 165, TRUE );
add_image_size( ‘home-middle-right’, 50, 50, TRUE );
add_image_size( ‘home-tabs’, 150, 220, TRUE );
I couldn’t find that code in any php file, but I noticed when designing the post, there are options to insert a medium or large image size into the post. I was able to get the full size images to show.
I did go to Settings > Media and tried to change the specified dimensions for each size, but that didn’t seem to do anything.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.