Setting pixel & file size queries...
With my Attachments per Forum Hack, Smoothie asked for the ability to set sizes per forum...
I have got these queries to run to test it :
[sql]ALTER TABLE `forum` ADD `forumattachsize` MEDIUMBLOB NOT NULL
ALTER TABLE `forum` ADD `forummaxwidth` BLOB NOT NULL
ALTER TABLE `forum` ADD `forummaxheight` BLOB NOT NULL [/sql]
The "forumattachsize" is the size in bytes...
The "forummaxwidth" is the maximum width of the image in pixels...
The "forummaxheight" is the maximum height of the image in pixels...
Are those queries correct, and if not, what are the correct ones?
Satan
|