Thank you very much. I beggin in scripting.
I'm working on a Skin and a Script which work together.
The script allow anybody to add his own picture to backgrounds available in my Skin.
You can see the evolution of my work
here.
I need to resize the picture to automatically add a thumbnail to the option panel of the Skin.