Custom Image Size
-
I have tried to follow your instruction by adding the following codes in function.php
function change_timeline_express_announcement_image_size( $image_size ) {
$image_size = ‘full’;
return $image_size;
}
add_filter( ‘timeline-express-announcement-img-size’ , ‘change_timeline_express_announcement_image_size’ );But then, the image enlarged. What I want is when the image is smaller than the designed size, then place it centre and keep the original image size. If the image is larger than the designed size, then scale down according to the width and need not crop the height.
This is the page:
https://www.themichelia.com/about/know-me-more/Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom Image Size’ is closed to new replies.