Created
January 22, 2015 14:08
-
-
Save takeit/5e7f28b8c68cd8ea9078 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ $num = $user->identifier % 6 }} | |
{{ if $user->image() }} | |
{{ $user->image($width, $height, 'crop') }} | |
{{ else }} | |
{{ $user->image($width, $height, 'crop', "_css/img/user_placeholder_`$num`.png") }} | |
{{ /if }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment