README.md

Display Twitter profile pics using Twitter handles

Summary

Using just the Twitter handle, Twitter profile pictures are displayed in a circle and clicking them will open the user's Twitter page in a new window. The handle is also displayed as a tooltip when hovering over the profile image.

Image Size

There's actually another "size", original, that returns the image using the original proportions as uploaded by the user. This doesn't work well for listviews since there is so much variation, but it is available if you customize the code and change the relevant part of the src url to ?size=original.

To change the size, adjust the portion of the src url to use the keyword from the table above and then adjust the width and height style attributes for the containing div.

Column Types

This format will work with Choice and Text columns without any changes. To use Lookup columns, you'll need to change the 2 occurences of @currentField to @currentField.lookupValue.

The field values are case insensitve and should be just the user's twitter handle with no @.

View requirements

This format can be applied to a text/choice column and expects the values to be twitter handles