creating & Inserting image thumbnail in oracle through php
Will some one please help me with the code of creating & Inser开发者_如何学Cting image thumbnail in oracle through php.
If you want to save an image to the database, you'll be using BLOBs (Binary Large Objects) or BFILES. Oracle+PHP Cookbook contains some information about using these. With BLOBS you write the binary representation of the image to the database. With BFILES you save the image to the file system and store a link to the image to the database.
As for creating thumbnails, there some reading to be done about GD and image functions in PHP. You'll want to watch out for large images as these functions require a lot of available memory. Particularly in hosted environments, the you might need to give some extra memory to the active PHP interpreter process make it possible to create thumbnails.
For image resizing, please check similar questions already found in Stack Overflow i.e.
- here
- here
- here
- and so on.
精彩评论