Subject | Re: Storing images. |
---|---|
Author | Adam |
Post date | 2005-01-04T20:42:30Z |
You could always test the image size in the client software and
provide some meaningful error message at that point. Apart from that,
I don't know if you can pass an entire BLOB into a UDF. If so, you
could implement a check for the file size via an external function.
FB can handle large databases, but you may want to prevent the insert
to save on bandwidth etc for the select statements.
--- In firebird-support@yahoogroups.com, "Adrian Wreyford"
<wreymed@a...> wrote:
provide some meaningful error message at that point. Apart from that,
I don't know if you can pass an entire BLOB into a UDF. If so, you
could implement a check for the file size via an external function.
FB can handle large databases, but you may want to prevent the insert
to save on bandwidth etc for the select statements.
--- In firebird-support@yahoogroups.com, "Adrian Wreyford"
<wreymed@a...> wrote:
> I hope I'm posting to the correct group.this is
>
> I need to store images of cattle in a cattle management sytem.
>
>
>
> I can store Jpeg images using Jason's IB_JpegImage, but don't think
> the way to go.be trying
>
>
>
> Reason:
>
> No control over the size of the image file that the end user will
> to store in the blob file.limit this
>
> I can resize the images, and also compress to a certain degree to
> factor, but still going to overload the database with large amountsof image
> data.the .FDB.
>
>
>
> I have read somewhere that Firebird can store to files, and not
>as the
>
>
> How do I do this?
>
>
>
> Do I designate an area on the disk, a subdirectory perhaps the same
> .fdb, only /images.to behave
>
> Do I then save all image files there, and How do I get the images
> with the front end of the database when say browsing the data,using IBO.
>will help
> How do I identify images for late retrieval?
>
>
>
> Any help will be appreciated to get me going here.
>
>
>
> I was not to sure if I should have posted on IBO, but sure Helen
> me right.
>
>
>
> Adrian
>
>
>
>
>
> [Non-text portions of this message have been removed]