I'm developping a new J3.0.3 website linked with a foreign database from where my users are authenticated (I've writed a custom auth plugin for this). I've got also a custom php script that synchronisze users details in CB fields (like adress, country and so on wich are fetched from the foreign database). Everything works as expected. In the foreign database, users profile images are base64 encoded.
I want that my batch script also creates users profile images in the images/comprofiler folder.
Can someone tell me how CB creates these images (and especially names them, it looks something like 1234_jgh12sflh.png where 1234 is the CB userID) ?
Forget it,
easy in fact, just put the base64 decoded image in the images/comprofiler folder and set the avatar field of comprofiler table to image name. (i'm using also PHPThumb to generate thumbnail)