Pixelated Avatar and Twitter Logo

181 views
Skip to first unread message

Robert Winnett

unread,
Jun 28, 2011, 2:58:33 PM6/28/11
to Twitter Development Talk
Hello,

Does anyone know why I am getting pixelation on my website with the
integrated Twitter Feed?

www.bucycling.com

Please help.

-Robert

Matt Harris

unread,
Jun 28, 2011, 3:10:34 PM6/28/11
to twitter-deve...@googlegroups.com
Hi Robert,

You website stylesheet includes this rule:

#home_main_right img {
    width: 150px;
    height: 150px;
}

This rule is telling the webpage to render the img's at the 150x150 resolution and is the reason for the images in the widgets being pixelated.
To resolve the issue you should restrict the scope of that CSS rule by adding something like a class on the img you want to be 150x150 

Best,
@themattharris
Developer Advocate, Twitter





--
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk

Lil Peck

unread,
Jun 28, 2011, 3:29:20 PM6/28/11
to twitter-deve...@googlegroups.com
On Tue, Jun 28, 2011 at 1:58 PM, Robert Winnett <winne...@gmail.com> wrote:
> Hello,
>
> Does anyone know why I am getting pixelation on my website with the
> integrated Twitter Feed?
>
> www.bucycling.com
>
>
Something else - I noticed that the home page loads slowly because the
header picture is 4703.21 KB (4816086 bytes). That is HUGE. For faster
loading, try reducing the image filesize to 24-32 kb.

Robert Winnett

unread,
Jun 28, 2011, 3:19:43 PM6/28/11
to twitter-deve...@googlegroups.com
Hey Matt,

Do you know what size the Twitter Logo is suppose to be??

-Robert

Robert Winnett

unread,
Jun 28, 2011, 3:13:27 PM6/28/11
to twitter-deve...@googlegroups.com
Hi Matt,

Wow... why didnt I think of that. I did not develop the theme but damn I should have known.

Thank you! Ill fix that right away.

-Robert

On Tue, Jun 28, 2011 at 3:10 PM, Matt Harris <themat...@twitter.com> wrote:

Matt Harris

unread,
Jun 28, 2011, 5:44:43 PM6/28/11
to twitter-deve...@googlegroups.com
Hey Robert,

Glad you got this worked out!

Best,
@themattharris
Developer Advocate, Twitter




Reply all
Reply to author
Forward
0 new messages