Tarjei Huse wrote:
> Btw. I suggest that we build inn some fileattribute fields innto the blob /
> parameter table. I must admitt I spent the better of some hours trying to
> build it into my existing fadmin - withouth manageing to find out where to
> start. I think this should be features in Aasgard and (if needed) changes in
> the blobtable. What I suggest is basicly that we can do a listattachments()
> and then a fetch and be able to check the object comming for filesize,
> imagewidth and imageheight. Maybe there are more attributes worth checking
> for, but since you need to set these upon uploading the image I find it a
> natural thing to put into the admin codes.
>
> I guess I'm crying out for my sick mother here, but It seems to me that
> knowing f.eks image sizes is a point when letting
> (l)users use attachments for different things. My horror is the user puting
> a 250+ k imagefile in their article without thinking....
You can spot this during the upload. PHP also has built-in facilities
to limit the size uf uploaded files.
Other than allowing direct access to the blob, I see no way of making
every scrap of information about the file that anyone out there might
feels is interesting available. I welcome discussion on this point;
short term I would use parameters on the blob to store meta data
during blob creation/update.
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]