Profile Layouts
Design and Skin Customization
Yeah, images are fixed to specific widths, you can see what they are by getting one wrong:
https://www.jamroom.net/user/image/user_image/915/doesnt-exist
Quote: CRI: invalid image size - must be one of: 24,xxsmall,40,xsmall,56,72,small,96,icon96,128,icon,196,medium,256,large,320,larger,384,xlarge,512,xxlarge,800,xxxlarge,1280
so add one of them instead:
https://www.jamroom.net/user/image/user_image/915/large
and the image appears. After that use CSS to pick the exact px width if you need more refinement.
--
Calculating the DOB easiest method depends on what you have to start with. If you have a time-stamp, then its a number of seconds, so calculate what 18 years is in seconds, subtract that from what they have and if its above 0 they are over 18.