Why CKEDITOR.inline couldn't send much string data into database in Codeigniter? - codeigniter

I'm currently used Codeigniter2.2 (latest version) and I'm using CKEDITOR with Inline option (Click on textarea to modify paragraph) and The my database table row data type is longtext as images
and here is my user interface for user insert data into database
I got error logical as the a little text can insert to database as Textarea_1
But login text in textarea_2 can't insert into database.
NOte:if I don't used Text Editor I can insert 2MB amount of text size into database
So How could I send big size of text size into database using CKEDITOR in codeigniter?
Please help

Related

Rendering Oracle BLOBs in R Shiny Datatable

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.

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.

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.

Including an image in a rich text field

I'm using Apex 4.2 and Oracle 11.g.
I have a rich text field that is used to store the body of an apex-generated eMail using SMTP_MAIl. The eMail generation process works fine. But my users want to include an image (jpg, bmp, etc.) into the body of the email, and don't want to include the image as an attachment.
On the Apex page, the rich-text field is defined as a Rich Text Editor / CDK Editor 3 / Toolbar = Full / Toolbar Expanded = Yes / Skin = Office 2003.
The rich-text field writes to a BLOB column.
If I just paste in the image (Shift / Insert) and then go to save the rich text field, I get a 500 - Internal Server Error.
Can you provide some help so that I can include an image in the rich text field? Ultimately, this will be included in the body of an html_email.
Thanks for your help.
The nature of my problem seems to be related to the 32K limit per Apex page item.
A colleague told me to look for a plugin. I found Enkitec's "CLOB LOAD" plugin. https://www.enkitec.com/products/plugins/clob-load
The plugin works well. It's easy to install, and the directions are pretty clear.
I stumbled on a few things to supplement CLOB_LOAD directions.
1) The table item that the Rich Text will write to has to be defined as a CLOB (and not a BLOB).
2) You have to create a Apex Collection using Apex's SQL Workshop. Be sure to include the Begin and End. The directions reference this.
3) If you already setup the form Apex page using the Apex Wizard and the DML page process is there, The "Return Key Into Item" is empty. At least it was with my Apex Page (4.2). That prevented the "Create" button from working. Once I set the "Return Key Into Item" value to the page item that relates to the primary key column of the table, it helped.
4) I also had to copy the page process for the "Save" button suggested by the plugin directions and assign the copied process to the "Create" button. Once I set those two items up, the plugin worked fine for updating as well as creating. It's a good solution.
Using this plugin, I can place a JPG, PNG, GIF, etc. into the Rich Text field, and it will write it to the CLOB, even when the total page item is greater than 32K.

Display image file in Oracle XE 11g

I am using oracle express edition 11g, I am working on creating a database that could include an image with pl-sql. I used the bfile type, the image (jpeg) looks like it has been inserted, but then when wanting to display it using the query select, the table is displayed but the image column says:
"unsupported data type"
You can upload / view images from an Oracle Database using pl/sql Developer. Here is how:
Create your table
create table image (a blob);
Store data
Open your table in edit mode:
select img.*, rowid from image img;
(unlock with small icon)
Hit + for new record, then .. to edit column a of new record; This will open a "large data editor" dialog (right):
Use the "Open" button, then "OK" when done, then post changes, then commit (F10): data is in the database.
read data
After that, you can browse (hit the ... button next to the record you want in the a table):
select img.a from image img;

Resources