Oracle Apex : How to Display Images on Cards

 


Step - 1:Create Blank Page:




Step - 2: Create Cards Region:

                Identification - Type - Cards



                 Sample SQL Query:

                                     select product_id,
                                               product_name,
                                               filename,
                                               mimetype,
                                               image_last_update,
                                               product_image,--blob column
                                               price,
                                               product_avail
                                      from demo_product_info


Step - 3 : Go To Cards Region  Attributes:

                Follow below steps:

               Primary Key  column 1 : PRODUCT_ID --primary key of my table




           
               In Body Section

               Step1 : Enable Advanced Formatting

               Step 2: HTML Expression : 

                              <table>
                                     <tr>
                                             <td ><b>&PRODUCT_NAME.</b></td>
                                    </tr>
                                    <tr>
                                           <td><b>PRICE</b> : 
                                           &LIST_PRICE.</td>
                                    </tr>
                                    <tr>
                                          <td><b>QUANTITY</b> :
                                          &PRODUCT_AVAIL.</td>
                                   </tr>
                              </table>



               In Media Section

               Step1: Enable Advanced Formatting

               Step2: Source -BLOB Column

               Step3: BLOB Column - PRODUCT_IMAGE-------my table  blob column




Step - 4 : Save and Run the page:

Output:








Comments

Popular posts from this blog

Oracle Apex - How to Display Add, Remove, Delete buttons on the Cards-Using Classic Report

Oracle APEX: How to Display Column Text Color in Interactive Grid with JavaScript