Hi,
As before, I'm using the K2 registration with JFB Connect... which I believe overrides the normal K2 registration / profile...
JFB connect works great, but does it overwrite /administrator/components/com_k2/models/user.php in any way?
I'm trying to change the file so that any photo which is uploaded in the default user method, i.e. not via JFB connect is cropped to a square (which would normally be controlled in that file).
I've changed it to:
$handle = new Upload($file['image']);
if ($handle->uploaded)
{
$handle->file_auto_rename = false;
$handle->file_overwrite = true;
$handle->file_new_name_body = $row->id;
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_x = $params->get('userImageWidth', '100');
$handle->Process($savepath);
$handle->Clean();
}
but that file doesn't seem to be making any difference at all whatever I do to it, even if I delete it!
Can you help please?
Thanks,
Matt