I have 250 avatars in a existing system (Community Builder) which is stored in the format
102_4cac62b9dccf7.jpg which is userid_some-random-string.jpg
Could you suggest a strategy for moving those images into to easyprofile?
I see the structure in EP is <images/profiler/avatar63_2222ddce1bf9b2d43c9a97c716be9921.jpg> with mini added to the name for thumbnail.
- Maybe some php code from the solution which I can use as a basis for a script ?
or is as simple as
- Can filename be anything unique with avatar<userid>_ and avatar<userid>mini_, and I just update the database field avatar with link ? Any sideeffects?
Seems to work in test
Regards
Terje