
05-21-2006, 09:06 PM
|
|
|
Join Date: Oct 2005
Posts: 564
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Bernd
Well, it would solve the issue that currently files are being parsed too.
Would it be possible to create a sql that selects attachments with certain extensions only?
For example $vboptions[galleryextensions] returns the value jpg,bmp,png and adjust the sql to only return attachments with these extensions. It's not exactly a condition, but i guess it might be a bit easier to implement?
Would a plugin hooked into attachment.php which checks for certain extensions in the upload field require less resources than the above?
I guess it's the last thing that would make this gallery fool proof.
|
that is exactly what I mean
|