|
|
|
Open Image
|
|||
|---|---|---|---|
|
#18+
Dobroye vrema sutok Est papka na diske Vnutri papki est fotki Nujna zdelat tak kogda perexod po polu zagrujalsa image svazaniy s etim userom Toyest Pole:Ima, Pola:Familiya Est pola Foto Tak vot v pole soxranayetsa url na fotku Nujna zdelat tak bralsa etot url gruzilos fotka na Image V baze xranitsa tolka url a ne sama fotka. kak zdelat s polem Foto Ocen nujna pomagite! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2010, 15:13 |
|
||
|
Open Image
|
|||
|---|---|---|---|
|
#18+
а READ_IMAGE_FILE в триггере на вход в строку или элемент не поможет в таком случае? пример из доки как раз подходит на мой взгляд: /* Read an image from the filesystem into an image item on the ** form. In this example, the scanned picture identification ** for each employee is NOT saved to the database, but is ** stored on the filesystem. An employee's photo is a TIFF ** image stored in a file named <Userid>.TIF Each employee's ** Userid is unique. ** Trigger: Post-Query */ DECLARE tiff_image_dir VARCHAR2(80) := '/usr/staff/photos/'; photo_filename VARCHAR2(80); BEGIN /* ** Set the message level high so we can gracefully handle ** an error reading the file if it occurs */ :System.Message_Level := '25'; /* ** After fetching an employee record, take the employee's ** Userid and concatenate the '.TIF' extension to derive ** the filename from which to load the TIFF image. The EMP ** record has a non-database image item named 'EMP_PHOTO' ** into which we read the image. */ photo_filename := tiff_image_dir||LOWER(:emp.userid)||'.tif'; /* ** For example 'photo_filename' might look like: ** ** /usr/staff/photos/jgetty.tif ** ------ ** ** Now, read in the appropriate image. */ READ_IMAGE_FILE(photo_filename, 'TIFF', 'emp.emp_photo'); IF NOT FORM_SUCCESS THEN MESSAGE('This employee does not have a photo on file.'); END IF; :SYSTEM.MESSAGE_LEVEL := '0'; END; ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.05.2010, 13:24 |
|
||
|
|

start [/forum/topic.php?fid=51&gotonew=1&tid=1878976]: |
0ms |
get settings: |
8ms |
get forum list: |
10ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
29ms |
get topic data: |
9ms |
get first new msg: |
9ms |
get forum data: |
3ms |
get page messages: |
37ms |
get tp. blocked users: |
1ms |
| others: | 11ms |
| total: | 123ms |

| 0 / 0 |

Извините, этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
... ля, ля, ля ...