has_img()
Some text
To crop images that are not post thumbnails, you can use crop($url, $size)
<img src="<?php echo $cropped_url ?>">
plugin-name.php
to the /wp-content/plugins/
directory<?php the_post(); img(200, 300); ?>
The img() template tag gets the image from your post thumbnail.