Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post Automatic Avatar Resize 
 
I think that an automatic resize function for avatar should be added in IP. It is easy to apply and it spares the users the annoying warn message.


Here is a mod for phpbb, I tested on the public release of IP and works fine:


Spoiler: [ Show ]




Please MG, if it doesn't cause security issues I don't know, I would consider adding it to the IP package
 



 
VortexSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
Automatic resizes cause trouble with server load. I don't like it
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
Zuker wrote: [View Post]
Automatic resizes cause trouble with server load. I don't like it



There was something...


Sorry Zucker, couldn't be implemented a mod that instead of resizing it every time a page loads, resize the avatar just when it's uploaded and stores the resized one instead of the original?
 



 
VortexSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
That would be great.  
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
Yes, that would be the best solution.

But it requires some testing... I'll add in my to do list... but do not expect me to do it soon... if someone would like to try to implement it, is welcome. I'll be glad to add this if it works fine.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
 
Off Topic
:
i think u can release a bible with the "to do" of icy mighty

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
Yes... there are many things in the to do now...

But as you have seen Icy Phoenix has been released after I've emptied my old to do list.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
With this two files, uploaded avatars are automatically resized to what it's set in ACP.
 

Live test @ icyphoenix.com.ar

user test
pass test

avatar_resize.rar
Description:  
Download
Filename: avatar_resize.rar
Filesize: 32.33 KB
Downloaded: 188 Time(s)

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
very nice!!       
 



 
hplSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
Zuker wrote: [View Post]
With this two files, uploaded avatars are automatically resized to what it's set in ACP.
 

Live test @ icyphoenix.com.ar

user test
pass test


Can you give the code changes for this?
 



 
toledoSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
i'm sorry

untill mighty reviews it don't
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
I've reviewed it, and it should work fine in most cases... but I'm still not sure that it will work fine on animated GIFs...

I won't integrate it in Icy Phoenix as default (because of some compatibility issues with GD and GIFs), but I'll keep the code there and commented, so if anyone would like to enable it, then he needs just to uncomment the code.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
Zuker wrote: [View Post]
With this two files, uploaded avatars are automatically resized to what it's set in ACP.
 


Great Zuker!
Nice work, it could be useful.
 




____________
~~~ Andrea ~~~
User #379756 on Linux Counter
"If you can't apt-get something, it isn't useful or doesn't exist!!"
 
buldoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
Thanks Zuker and MG
 



 
VortexSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Automatic Avatar Resize 
 
Mighty Gorgon wrote: [View Post]
I've reviewed it, and it should work fine in most cases... but I'm still not sure that it will work fine on animated GIFs...

I won't integrate it in Icy Phoenix as default (because of some compatibility issues with GD and GIFs), but I'll keep the code there and commented, so if anyone would like to enable it, then he needs just to uncomment the code.


Yes, i read in a topic  phpbb.com that there is an issue with gifts
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events