my php Image class ;)

Hey all,…

I have written a small image class in php for the new content management system on elYsiun.com.

What it basicly does it resize and compress images to the values I give it.
A nice example is at:
https://blenderartists.org/phpImageTest/image.php (the top image is original,… the other 3 images are calculated on page load).

Basicly this will make adding new items etc much much easier.

Greets,
Timtohy

Okay :stuck_out_tongue: dous this mean there will be updates…!?

Nice class http://www.selleri.org/Blender/img/smile.gif

Stefano

what is an item?

green,… anything from specials, to news, to galleries.

Anything where I would normally have to manually rescale and compress the images in photoshop,… I can now make php do.

Nice…

good work

Congrats! I did something like that a few years ago… I also created a script using PHP, GD and FreeType to generate text images and rollovers on the fly. It actually wrote them to a file with the name derived from all the options and then just served up that file after the first time it was created. Then if the same parameters were given it wouldn’t have to do any real work… just serve up the image. Then just changing the color parameter or something would cause it to regenerate the file.

Hey Kib… would it be too rash of me to ask if you could send me (or put online) the source code? I’m learning PHP too, and would like to learn a bit or too about image resizing. Thanks!