Flare is 100% right.
However, if I was gonna create a hack, I'd probably approach is this way...
Above is some simple perl that checks the gif image height/width attributes.
Step 1: create an upload page so users can send a .gif file to your server (many applet, javascript wares out there for this). put your policies about filesize and type there, plus this could be linked from the profile screen in UBB and could allow image deleting/addition - user controlled.
Step 2: check image attribute, sh!tcan the image if too big (you decide what is too big)
Step 3: rename the file to include the member profile number in the filename, i.e. 0000002.gif
Step 4: hack UBB to use SSI call to a perl script to check if image exists, and if it's there display the image
this is real quick off the top of my head stuff... but in a nutshell it allows user to upload, you can warn them about filesizes and take action, and image will NOT display unless it exists, and it's all on your server. two hacks - one in profile, one in forums display source, and one external script or HTML file that handles uploading and deleting and policies.
hey, i'm busy with my own stuff, no time for this! but maybe i sparked some folks into saying "hmmmmm....." ;-)
-jim
[ February 16, 2001: Message edited by: hate98 ]