demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

introduce SGL_Image class #818

Open demianturner opened 11 years ago

demianturner commented 11 years ago

as a wrapper for pear's image manipulation classes for seamless integration into seagull.

possible use:

rares has already code for this in shop and gallery module. we can use this for a start

demianturner commented 11 years ago

[lakiboy] I have implemented a SGL_Image class too, but it is very simple. It uses PEAR::Image_Transform to generate thumbnales, resize image etc. The idea and implementation is the same as SGL_Item class. Also I have ImageMgr as a wrapper for tag's src attribute, which sends images to output, using PEAR::HTTP_DOWNLOAD.