Make rectangular image square and smaller in html?

Shevan

New member
I to want be able to submit one photo, and then get access to the full-sized image saved on the server. But I want to be able to use the same image from the same url, without uploading a smaller one, and then just use html and css to render it as a smaller square for use as a thumbnail. Is this possible? I know you can just say width="200" height="200", but then if its not an exactly square image it will squish it. Any ideas?
 
Back
Top