Resizing images depending on client's dimensions
3
Prototype's Form.Methods library has a nice piece of code called 'serialize', which, if passed with the optional 'hash' parameter set to true, will convert an HTML form into a Javascript Object.
I was dismayed, however, to find that there was no way to reverse it; just as simply load a form using a Javascrip object.
So, here's one. enjoy.
I was dismayed, however, to find that there was no way to reverse it; just as simply load a form using a Javascrip object.
So, here's one. enjoy.
7
Simple class i wrote to output or save jpeg files. Could easily be adapted to work for other formats, but at design time i only needed JPEG support. I may revise it at some point.









