pierre derome - expertinternet.com
2009-Feb-06 15:42 UTC
[Facebooker-talk] fb:profile-pic picture size (other than small, thumb, square, big)
sounds so easy and obvious, but I can''t figure out how to output a profile picture at the size I want say 20X20 or whatever, many thanks, this list is very useful to me, Pierre
Richard Jordan
2009-Feb-06 16:23 UTC
[Facebooker-talk] fb:profile-pic picture size (other than small, thumb, square, big)
Dear Pierre,
Try using CSS. So try something like:
<style>
.picky {
height: 20px;
width: 20px;
}
</style>
<%= fb_profile_pic(1234, :class =>''picky'') %>
Play around with it to avoid distortion. Try bounding the size
instead of fixing it with CSS''s "max-height",
"min-width", etc.
Sincerely,
Richard
On Fri, 6 Feb 2009, pierre derome - expertinternet.com wrote:
> sounds so easy and obvious,
>
> but I can''t figure out how to output a profile picture at the size
I
want say> 20X20 or whatever,
>
> many thanks, this list is very useful to me,
>
> Pierre