title: Resize facebook profile picture
body: <p>Iam trying to resize the facebook profile picture to large. I understand that in order to make the profile picture large i must input
      <a href="http://graph.facebook.com/id/picture?type=large" rel="nofollow">http://graph.facebook.com/id/picture?type=large</a></p>
  
  <p>from what i currently have in the code bellow i get 
      <a href="http://graph.facebook.com/id/picture?type=square" rel="nofollow">http://graph.facebook.com/id/picture?type=square</a></p>
  
  <p>How can I change the USER INFO so that the image of the profile picture is large, and does it with every users profile picture. (Note: i dont want it to resize it anywhere else). </p>
  
  <p>USER INFO    </p>
  
  <pre><code>&lt;h1 class="twshadow"&gt;
    &lt;%= current_user.name %&gt;
    **&lt;%= image_tag current_user.image %&gt;**
  &lt;/h1&gt;
  &lt;span&gt;
    &lt;%= link_to "View my Profile", current_user %&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>USER.RB</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
    attr_accessible :name, :oauth_expires_at, :oauth_token, :provider, :uid, :email, :image
  
    def self.from_omniauth(auth)
      where(auth.slice(:provider, :uid)).first_or_initialize.tap do |user|
        user.provider = auth.provider
        user.uid = auth.uid
        user.name = auth.info.name
        user.email = auth.info.email
        user.image = auth.info.image
        user.oauth_token = auth.credentials.token
        user.oauth_expires_at = Time.at(auth.credentials.expires_at)
        user.save!
      end
    end
  end
  </code></pre>
  
  <p>DATABASE</p>
  
  <pre><code>class CreateUsers &lt; ActiveRecord::Migration
    def change
      create_table :users do |t|
        t.string :provider
        t.string :uid
        t.string :name
        t.string :email
        t.string :image
        t.string :oauth_token
        t.datetime :oauth_expires_at
  
        t.timestamps
      end
    end
  end
  
  class ApplicationController &lt; ActionController::Base
    protect_from_forgery
  
  private
  
    def current_user
      @current_user ||= User.find(session[:user_id]) if session[:user_id]
    end
    helper_method :current_user
  end
  </code></pre>