Dit product is onderdeel van Infowijs - een studio met maarschappelijk hart.
  • PHP reference
  • Models
  • Traits


trait Models\Traits\HasPicture

Trait HasPicture


string getPicture(integer $size = 300)

Returns the user's profile picture URL. The first parameter allows you to set the desired size at which you want to display it, which helps Scholica return the correct resized version.

Note that the returned image might be larger than the size you request!


  • integer $size Minimal size of the resulting image, in pixels (defaults to 300 pixels)

Return Value

  • string