Support » Plugin: User Profile Picture » Suggestion for instruction-improvement

  • Resolved Toby Cryns


    Wonderful plugin. Thank you!

    It took me a little while to figure out exactly how to display the author image in my template.

    The code I ended up using follows:

    if (function_exists ( 'mt_profile_img' ) ) {
    								mt_profile_img( $author_id, array(
    									'size' => 'thumbnail',
    									'attr' => array( 'alt' => 'Alternative Text' ),
    									'echo' => true )

    Your instructions got me close, but I had to change the “echo” and also had to grab the $author_id variable from the post data. It might be helpful to future users to include the above example on your “Installation” tab in the repository.

    Again, thanks for creating this great plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Suggestion for instruction-improvement’ is closed to new replies.