Results 1 to 3 of 3
Jul 29, 2013, 22:11 #1
- Join Date
- Aug 2011
- 1 Post(s)
- 0 Thread(s)
Show only 100px square portion of an image?
If you're still not sure what I mean, here's a quick example:
A user uploads a picture that is 1200x983px, but the thumbnail for this picture must be 100x100px. If I were to just do something like <img height="100px" width="100px" />, the image would be all distorted since a perfectly square photo was not used, and if I were to just define a width of 100px only, the height may not be 100px.