Title: Feature request: higher resolution avatars
Last modified: October 4, 2017

---

# Feature request: higher resolution avatars

 *  Resolved [Sander](https://wordpress.org/support/users/zanderz/)
 * (@zanderz)
 * [9 years ago](https://wordpress.org/support/topic/feature-request-higher-resolution-avatars/)
 * Hi,
 * currently, the avatar of a Twitter is hardcoded at 48px (CtfFeed.php, lines 1194
   and 1346)
    However, we would like to show it a bit larger and in higher resolution(
   i.e. load 120px version and display it at 60px) Would it be possible to add this,
   or does Twitter only supply a 48px version?
 * Thanks for this plugin btw, it’s very easy to use and configure!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Sander](https://wordpress.org/support/users/zanderz/)
 * (@zanderz)
 * [9 years ago](https://wordpress.org/support/topic/feature-request-higher-resolution-avatars/#post-9555383)
 * FWIW, I hacked it together using this for now:
 *     ```
       function tweetHack()
       {
           $content = do_shortcode('[custom-twitter-feeds]');
   
           $content = str_replace(
               'Twitter_normal.jpg',
               'Twitter_200x200.jpg',
               $content
           );
           $content = str_replace(
               'width="48" height="48"',
               'width="75" height="75"',
               $content
           );
           echo $content;
       }
       add_shortcode('tweethack', 'tweetHack');
       ```
   
 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [9 years ago](https://wordpress.org/support/topic/feature-request-higher-resolution-avatars/#post-9555985)
 * Hey Spinal,
 * Glad you like the plugin! Also it definitely looks like your hack will work. 
   If you didn’t want to do a string replace on the entire feed in php you could
   use the following JavaScript to do this instead:
 *     ```
       jQuery('.ctf-header-img img').attr('src',jQuery('.ctf-header-img img').attr('src').replace('_normal.jpg','_200x200.jpg')).attr('height','75').attr('width','75');
   
       jQuery('.ctf-item').each(function() {
         jQuery(this).find('.ctf-author-avatar img').attr('src',jQuery(this).find('.ctf-author-avatar img').attr('src').replace('_normal.jpg','_200x200.jpg')).attr('height','75').attr('width','75');
       });
       ```
   
 * You would want to add this to the “Custom JavaScript” area on the Customize tab.
   The top part changes the avatar in the header and the bottom part will change
   all of the author avatars next to the tweets.
 * Hopefully that helps!
 * Thanks,
 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/feature-request-higher-resolution-avatars/#post-9720721)
 * Hey Spinal,
 * This topic has been quiet for awhile. I’ll go ahead and mark it resolved but 
   let me know if you need anything else!

Viewing 3 replies - 1 through 3 (of 3 total)

 The topic ‘Feature request: higher resolution avatars’ is closed to new replies.

 * ![](https://ps.w.org/custom-twitter-feeds/assets/icon-256x256.png?rev=2700808)
 * [Custom Twitter Feeds - A Tweets Widget or X Feed Widget](https://wordpress.org/plugins/custom-twitter-feeds/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-twitter-feeds/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-twitter-feeds/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-twitter-feeds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-twitter-feeds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-twitter-feeds/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/feature-request-higher-resolution-avatars/#post-9720721)
 * Status: resolved