Rendering Oracle BLOBs in R Shiny Datatable - oracle

I am new to both BLOBs and image rendering in Shiny, but I am wondering if it is possible to render images stored as BLOBs in an Oracle table via datatables in Shiny? Unfortunately I don't have code to share, but am wondering if anyone has attempted or been successful doing something like this?
Basically, I am wanting to have a table stored in Oracle that has a product picture, and then several more columns with other information about the product. Then, I would like to be able to read that table in via R and display the full table with the images as a datatable in a Shiny application.

Related

PL/SQL INSERT DATA TO TABLE IN ORACLE APEX

I created a blank page and inserted textfields and button which will serve as a form. I want to display the inserted data from user once the button save is clicked, and the data will also show on the interactive grid below the page. Please help me on this.
I'd suggest another approach: use the Wizard to create Report with a Form on a table. It will create an Interactive Report (and you'll use it to review data stored into a table) and a Form (you'll use to insert new records and to update/delete existing ones).
Apex does everything for you; you'll only have to make it pretty because it'll work "as is". With your approach, you'll have to program everything yourself.

How to get data from server in Nativescript gridview?

I am able to load data from sqlServer using mat table in angular, but have no clue how to do same in nativescript?. I think GridView will work,but cant find source to load dynamic data.
If GridLayout is what you mean by GridView, it's just layout not responsible for loading data.
If you are looking to load list of items on screen, then ListView is what you need. If you like to show table kind of layout with multiple columns then you must design your item template with a GridLayout.
If you go with RadListView, you have different layouting option too.

In Spotfire I want to display an image from the database

I have images stored in the database that I want to show in Spotfire. I've found how to display an image from a webpage but not one directly from the SQL database. Spotfire defaults to string type for the image. I tried editting it at the Info Link stage and forcing it to be a blob, but when I render it as an image I just see [..].
unfortunately Spotfire doesn't support BLOB or binary data.
what you can do is store your images on a server somewhere, then in place of the binary data in your database, store the URL to the image. you can then display it in a table as suggested in the Spotfire manual.

Oracle APEX display blob images directly in a report

I would like to know how one can display image type BLOBs uploaded as per this stack overflow question Use of BLOB type column in Oracle APEX, as images in a classic or interactive report instead of the normal download links.
I noticed that you can change the blob column attribute's Content Disposition field to inline, which then allows you to click through to another page where the image is displayed; but I want the image to display directly in the report without having to click on it.
The inline image displayed in a new page has the following url
https://apex.oracle.com/pls/apex/apex_util.get_blob?s=34564408462&a=4794&c=16789110088070077&p=2&k1=21&k2=&ck=D4QFl4Z9txsufDbmUOmKeirK4&rt=CR
which suggests that one might be able to use apex_util.get_blob. Does anyone know how this can be accomplished?
I have implemented same in classic report.
I followed this link http://docs.oracle.com/cd/E14373_01/apirefs.32/e13369/apex_util.htm#AEAPI129
This may help you to resolve your doubts

Print all Images in a ms access database

I Have developed a reporting tool using ms access. It is composed of 10 forms which allows the user to input data. I also allow the user to upload images to the database(images are uploaded to image folder and the link is store in the database table). The user could upload as many as 30 image files.
What i want to do is add another form which displays all the images the user has uploaded. Would this be possible in access i know in php you can use the mysql_num_rows function , just wondering is their a similar way to achieve this in access. Can anyone point me in the right direction ?
Basically when a form opens i want to run an Sql statement that retrieves all the images in the tables database and then shows the images on the form.
Using MS Access 2010:
\1. Create a continuous form, there is a wizard that will step you through. You can base the from on a table or query, a query is usually best. Ensure you include the field that holds the path to your image. You do not need to include the field with the path to the image on the form, it just needs to be part of the recordset.
\2. Add an image control
\3. Set the control source for the image control to the name of the field that holds the path to the image.
\4. View the form.
The continuous form can be a subform

Resources