Hi Peter,
would it be possible to add the option for personal defined avatar sizes [other than array(32, 48, 64, 80, 100, 128)]? At least a configuration array containing the avatar sizes would be great because I could overwrite this array in my own extensions if I want to.
config.php: Add the following line
php:
tl_settings.php: Exchange line 37 with the following:
php:
Avatar.php: Exchange line 20 with the following:
php:
This would be add more flexibility for extension which might want to use avatar but more in the sense of a personal picture which could be greater then max. 128 pixels.
I would appreciate if you could consider this for one of the next versions.
Regards,
Helmut
[Last edited by hschottm, 02/03/2009 11:57]
02/03/2009 11:57
Hmmm, a simple Yes or No would satisfy me. I just want to know if I have to develop my own personal picture extension or if I could use the Avatar extension.
Thanks again,
Helmut
[Last edited by hschottm, 02/07/2009 09:55]
02/07/2009 09:54
Peter Koch (acenes)
Admin
From: Switzerland
Posts: 101
Sorry for not responding earlier, I am very busy with other work currently.
This seems to be a good idea, but I will unfortunately not have time to work on my TL extensions in near future. So if you need this urgent, you should hack avatar or create a new extension.
Peter - "May the TYPOlight shine on you."
02/07/2009 12:17
Hi Peter,
ok. Thanks for the information.
And sorry to bother you so constantly
Best regards,
Helmut
02/08/2009 14:49
Hi Peter.
My patch from yesterday offered almost exactly the same thing as hschottm offered.
The only differnce was the namespace where to put the list of custom sizes.
I offered
php:
in config.php.
everything els was the same.
These are just 3 changes in 3 files.
I didn't see there is a topic about this. I also modifyed the same files at the same places in my site.
Cheers
02/14/2010 17:08
Peter Koch (acenes)
Admin
From: Switzerland
Posts: 101
Thanks, I schedule this for the next release.
Peter - "May the TYPOlight shine on you."
02/14/2010 17:12