1. size wise image report
select "ROWID",
"ID",
'<img src="'||apex_util.GET_BLOB_FILE_SRC('P21_IMAGE',ROWID)
||'" height="100px" width="100px"' "IMAGE",
"MIMETYPE",
"FILENAME",
"LASTUPDATE"
from "#OWNER#"."TEST_IMAGE"
2. long report orginal
select "ROWID",
"ID",
'<img src="'||APEX_UTIL.GET_BLOB_FILE_SRC('P21_IMAGE',ROWID)||'"/>' "IMAGE",
"MIMETYPE",
"FILENAME",
"LASTUPDATE"
from "#OWNER#"."TEST_IMAGE"
3. default report image IR
select "ROWID",
"ID",
dbms_lob.getlength("IMAGE") "IMAGE",
"MIMETYPE",
"FILENAME",
"LASTUPDATE"
from "#OWNER#"."TEST_IMAGE"
4.
select "ROWID",
"ID",
decode(nvl(dbms_lob.getlength(IMAGE),0),0,null,
'<img alt="'||apex_escape.html_attribute(ID)||'" title="'||apex_escape.html_attribute(ID)
||'" style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;"'
||'src="'||apex_util.get_blob_file_src('P3_IMAGE',ROWID)||'" height="150" width="200" />')
"IMAGE",
"MIMETYPE",
"FILENAME",
"LASTUPDATE"
from "#OWNER#"."TEST_IMAGE"
5. Circle / Squre Image
/*
decode(nvl(dbms_lob.getlength(PIC),0),0,null,
'<img alt="'||apex_escape.html_attribute(EMP_ID)||'" title="'||apex_escape.html_attribute(EMP_ID)
||'" style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;"'
||'src="'||apex_util.get_blob_file_src('P16_PIC',ROWID)||'" height="50" width="60" />')
"IMAGE" --square image
*/
decode(nvl(dbms_lob.getlength(PIC),0),0,null,
'<img alt="'||apex_escape.html_attribute(EMP_ID)||'" title="'||apex_escape.html_attribute(EMP_ID)
||'" style="border: 4px solid #CCC; -moz-border-radius: 50%; -webkit-border-radius: 50%;"'
||'src="'||apex_util.get_blob_file_src('P16_PIC',ROWID)||'" height="50" width="60" />')
"IMAGE"
Md. Quium Hossain who I'm Oracle DBA & APEX Developer. All-rounder in building small, medium, and enterprise applications. Extensive knowledge in various areas of web-driven applications in Back-end (PL/SQL, SQL, Java), Front-end (Oracle APEX, Oracle Forms, Oracle Reports, HTML, JavaScript, CSS, jQuery, OracleJET, ReactJS), RESTful APIs, Third-party library integrations (Apex Office Print (AOP), Payment Gateways, SMS, Syncfusion, HighCharts) and APEX Plugins (HighChart, StarRating)
Subscribe to:
Post Comments (Atom)
How to install and configure Oracle Apex 24.1 with ORDS 22, Tomcat 9 and Jasper Report 7 on Oracle Linux 8.10
#########################Install Oracle APEX 24.1################################ ----------------------------------------------------...
-
# Report Column (only column): 1. Column Formatting > HTML Expression <span style="display:block; width: 200px"> #...
-
Installing Oracle Forms and Reports 12c on Windows 10 64 Bit. Hardware used for this installation is · Intel i3-2370M CPU · ...
-
when open forms builder then errors FRM-91129: fatal error: no value specified for required environment variable FORMS_BUILDER_CLASSPATH a...
-
---------------------------- | Keyboard Shortcut | ---------------------------- · Create: Breadcrumb Region Ctrl+/, C, B · ...
No comments:
Post a Comment