Hey Folks:
I need to hack a solution together to resize the avatar before its stored in the DB(I know bad idea, but we need this while we work on porting some utilities to our client). I am not that familiar with erlang so I am having issue tracing this down in the code.
I believe its around the XData case in mod_vcard_odbc where it uses the jlib parser. Any tips on where to get started or what to look at would be greatly appreciated.
Thanks a bunch.
-Leigh
I've implemented the feature
I've implemented the feature in mod_vcard. I imagine you can copy the code to mod_vcard_odbc with minor changes.
This patch requires Imagemagick 'convert' program. It resizes all images to 80x80 pixels.