1
luke_chen
How to resize size of avatar picture automatically
  • 2010/3/11 8:48

  • luke_chen

  • Just popping in

  • Posts: 19

  • Since: 2009/12/28


Hello,

I have a question: Is there any module for auto resize user's avatar images?

for example: user can upload whatever size picture what at last under 120 x 120, I hope all of avatar's size is 50x50, these uploaded pictures be resized to 50 x 50 automatically.

2
deka87
Re: How to resize size of avatar picture automatically
  • 2010/3/11 10:34

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


that's a week advice, but you can simply use width and height properties in your img tag wherever you need it. this won't save your disc space though.

3
jimmyx
Re: How to resize size of avatar picture automatically
  • 2010/3/11 11:18

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


the XOOPS core does not have this feature

but the yogurt module have a feature where you can
upload as many picture allowed...the picture is resize automatically by imagemagick and then you can set any of the uploaded picture as avatar

btw trabis is working on a picture gallery based on yogurt where you can do exactly the same thing..

still not working properly though
http://www.xuups.com/modules/publisher/item.php?itemid=23


avatar auto resize should be in core...not all of user is tech savy...many don;t know how to resize their pics

BUT

if you mean just resize it when display as example in user info just change the user info template and change the width and height of avatar to 50 , 50

4
luke_chen
Re: How to resize size of avatar picture automatically
  • 2010/3/16 2:07

  • luke_chen

  • Just popping in

  • Posts: 19

  • Since: 2009/12/28


.... I am not familiar at css, sorry, now I get it thanks for your help

Login

Who's Online

227 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits