private userImageDirPath ( string dirName, int userID ) : string | ||
dirName | string | Name of the directory. Typically you can just use the name of an image size. |
userID | int | The ID of the user. |
return | string |
private string userImageDirPath(string dirName, int userID)
{
int userDir = (userID / 1000);
return String.Format("{0}\\{1}\\", imageDirPath(dirName), userDir);
}