[Gforge-devel] Screenshot / Multimedia data

Mathieu foreau_m at epitech.net
Fri Jun 23 07:32:41 EDT 2006


Hi all,

I needed this functionality on my Gforge installation, so I developed
the front-end part. The backend part only accept images files (which
mime-type starts with "image/"): bmp, png, jpg and gif (the types that
are understand by the GD PHP library).
The appearance has been copied on the SF site.
I also added thumbnails generation, and they are also stored in the
database, but in another table (db_images_thumb).

In attached files, you'll find sql statements that alter the db_images
table and add the db_images_thumb one, and  a diff of the files, from
the 4.5.11 version.
I hope that can be useful for some one else.


-- 
Mathieu.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.patch
Type: application/octet-stream
Size: 16601 bytes
Desc: not available
Url : http://svr1.gforge.org/pipermail/gforge-devel/attachments/20060623/6ed4f1c0/screenshot.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.sql
Type: application/octet-stream
Size: 731 bytes
Desc: not available
Url : http://svr1.gforge.org/pipermail/gforge-devel/attachments/20060623/6ed4f1c0/screenshot-0001.obj


More information about the Gforge-devel mailing list