1
bkohl
Avatar autoresize
  • 2008/4/15 19:06

  • bkohl

  • Just popping in

  • Posts: 4

  • Since: 2008/3/16


Is there a hack to autoresize the avatar when i upload it (with f.ex. imagmagick)?

2
jimmyx
Re: Avatar autoresize
  • 2008/4/16 3:01

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


the XOOPS core does not have this feature

but in yogurt social network module http://www.marcellobrandao.eti.br/modules/news/

you can upload a picture and it will be automatically-resize and you and your user can set this picture as avatar

3
bkohl
Re: Avatar autoresize
  • 2008/4/18 17:39

  • bkohl

  • Just popping in

  • Posts: 4

  • Since: 2008/3/16


sorry, but this is not an solution. there a tousand of applications which can autoresize a picture - but I need it in XOOPS 2.0.x - and the yogurt modul is not a solution. but thanks for the answer.

4
Anonymous
Re: Avatar autoresize
  • 2008/4/18 18:11

  • Anonymous

  • Posts: 0

  • Since:


Hi bkohl,

I think you know how to limit the width and height of avatar from Site Preferences / User Info Settings, so users can upload avatars over your limits.

But If you want to autoresize it in special page, for example: userinfo.php, you can edit this file:

modules/system/templates/system_userinfo.html

and add width="120" to:

< img src="<{$user_avatarurl}>" alt="Avatar" />

5
sarahmx
Re: Avatar autoresize
  • 2009/8/29 14:40

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


can this feature be added to XOOPS next release ?

6
sailjapan
Re: Avatar autoresize

I second that!

Login

Who's Online

310 user(s) are online (136 user(s) are browsing Support Forums)


Members: 0


Guests: 310


more...

Donat-O-Meter

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

Latest GitHub Commits