Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_profile_image()

Description

Generate the url to the user's profile image. Fetch the url by the user's id or by the profile image filename.

Parameters

ColumnTypeDefaultDescription
$user_ref int "" User id of the user who's profile image is requested.
$by_image string "" The filename of the profile image to fetch having been collected from the db separately: user.profile_image

Return

string The url to the user's profile image if available or blank if not set.

This article was last updated 28th February 2021 15:35 Europe/London time based on the source file dated 11th February 2021 16:30 Europe/London time.