class CPhotos


Located at : UKNOWVA_ROOT/components/com_community/libraries/photos.php

Constants

ASPECT_PORTRAIT

ASPECT_LANDSCAPE

ASPECT_SQUARE

ASPECT_LANDSCAPE_RATIO

ASPECT_PORTRAIT_RATIO

ASPECT_SQUARE_RATIO

ACTIVITY_SUMMARY_ITEM_COUNT

Methods

static 
getActivityContentHTML($act)

No description

getPhotoAspectRatio($srcPath)

Return the given photo aspect ratio

generateThumbnail($srcPath, $destPath, $destType)

Generate photo thumbnail

getStorePath($srcPath)

Given the original source path

saveAvatarFromURL($url)

No description

Details

at line 27
static getActivityContentHTML($act)

Parameters

$act

at line 111
getPhotoAspectRatio($srcPath)

Return the given photo aspect ratio

Parameters

$srcPath

at line 131
generateThumbnail($srcPath, $destPath, $destType)

Generate photo thumbnail

Parameters

$srcPath
$destPath
$destType

at line 174
getStorePath($srcPath)

Given the original source path

Parameters

$srcPath

at line 178
saveAvatarFromURL($url)

Parameters

$url