Way to specify which size is used?
-
Is there a way to specify which image size to use? Like how you can specify “medium” “small” or custom image sizes when calling the image:
<?php echo wp_get_attachment_image( $image, 'full', false, array( "class" => "block") ); ?>
There’s a maximum upload width/height size, but I’d love for the image they upload to be any size, but the image used on the page is the width I specify.
Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Way to specify which size is used?’ is closed to new replies.