Cropping dynamically
burn
Registered Users Posts: 7 Beginner grinner
Hi All,
I dig around a bit to see if I could find something on this. I would like to be able to crop images when I load them from smugmug (to make square thumbs etc.). I saw there is a crop method, but couldn't find the exact parameters, and I'm guessing it crops the image permanently. I just want to crop it when displaying, but leave the original alone.
I can probably do this with CSS, but thought I'd ask.
Thanks!!
- Mark
I dig around a bit to see if I could find something on this. I would like to be able to crop images when I load them from smugmug (to make square thumbs etc.). I saw there is a crop method, but couldn't find the exact parameters, and I'm guessing it crops the image permanently. I just want to crop it when displaying, but leave the original alone.
I can probably do this with CSS, but thought I'd ask.
Thanks!!
- Mark
0
Comments
My Website index | My Blog
What I would like to do is retrieve images like this:
http://<nickname>.smugmug.com/photos/<imageId>-300x300.jpg and have it scale and crop the photo to fit both dimensions. Right now, it just scales, but retains the aspect ratio of the image (if it's a rectangle, for example).
I just want squares. <img src="https://us.v-cdn.net/6029383/emoji/headscratch.gif" border="0" alt="" >
Thanks for any input!
- Mark
The bulk thumbnail resizer looks great, but I need larger images.
Thanks!
- Mark