this is more of an html issue -- i believe the most popular way is using tables that make images certain sizes (by width and height, etc) then having a link to the bigger picture. however submitting images and such is definitely php. do a search for uploading files because i just posted a scrpit on how to do it last night in this form =)
cheers,
~kyle