Title: PHP functions?
Last modified: March 28, 2020

---

# PHP functions?

 *  [helvetication](https://wordpress.org/support/users/helvetication/)
 * (@helvetication)
 * [6 years ago](https://wordpress.org/support/topic/php-functions-4/)
 * I’m writing a custom output for wordpress images and I’d like to use your plugin
   to generate the focal point. Is there a function I can call to invoke all the
   smartcrop goodness?
 * I know it works with the_post_thumbnail(‘size’), but I am not happy with the 
   output it generates. I’m using the wp_get_attachment_image functions to create
   the perfect img tag.

The topic ‘PHP functions?’ is closed to new replies.

 * ![](https://ps.w.org/wp-smartcrop/assets/icon-256x256.png?rev=1371575)
 * [WP SmartCrop](https://wordpress.org/plugins/wp-smartcrop/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-smartcrop/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-smartcrop/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-smartcrop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-smartcrop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-smartcrop/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [helvetication](https://wordpress.org/support/users/helvetication/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/php-functions-4/)
 * Status: not resolved