Resize Avatars

Alright Kids,


The lesson for the day is resizing avatars. I want my site icons, thumbnails, and pics to be on a 3x4 rectangle scale instead of a square. I have looked for answers but it seems like no one else has had this question answered yet. It does absolutely no good to change the photo settings in the admin. that didn't do anything. I need some help on this please... Deano, DeeEmm, Magnussoft I'm lookin at you.

Thanks,

Wayne

Quote · 27 Jul 2010

We resize images all the time... in fact, we just resized 4.5 million over the last couple days on a site.

But we have something on our sites you perhaps don't have.... we keep the original file on upload - this lets us re-size later if we need too without distorting the image

When resizing, we do a couple of things...

a) change the upload code to create the new desired image sizes when someone uploads new photos

b) change the template code to support the new changed size

c) run an shell script that uses ImageMagick to resize the old photos to the new desired sizes.

Another option for less busy sites, or those not planning on using a CDN is....

but it also works best if you have the original

a) resize photos on the fly to the desired sizes using a php script that calls gd or ImageMagick and spits out the desired size real-time.

Smoge

Quote · 27 Jul 2010

thank you for informing me about what you are able to do. Sounds awesome. but what you didn't include is how I may be able to do the same thing. what i am looking for is not to change every photo after it comes into the site. I am trying to change the dimensions of the avatars from the beginning. I do not want them to be square when my new user tries to crop the photo i want them to be a rectangle. I want my users to be able to upload a photo of the upper torso not just the head. I hope this helps to clarify what I am after. anybody else have any ideas?

Thank

Quote · 27 Jul 2010

Has anybody figured this out yet? I need help. I'll be your best friend.

Quote · 27 Jul 2010

The reason that I want it resized shouldn't matter with regards to coughing up some info. Especially if someone has previously performed the same task.

thank you for informing me about what you are able to do. Sounds awesome. but what you didn't include is how I may be able to do the same thing. what i am looking for is not to change every photo after it comes into the site. I am trying to change the dimensions of the avatars from the beginning. I do not want them to be square when my new user tries to crop the photo i want them to be a rectangle. I want my users to be able to upload a photo of the upper torso not just the head. I hope this helps to clarify what I am after. anybody else have any ideas?

Thank

I want to display the upper torso not just the head. And I would like to make the avatar image slightly bigger. Not real concerned with it being easy just that it can be done. Hope that doesn't come off as mean, just trying to get some Answers out of this.

Thank

Quote · 28 Jul 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.