Hi. How can you show pictures stored in the database for display? I can see an example?

asked 20 Mar '13, 22:11

Carlos%20Mayorga's gravatar image

Carlos Mayorga
136
accept rate: 0%


Hi Carlos,

You can show pictures stored in the database using the image component. It's sufficient to create a datasource based on the table where the picures is stored and bind this datasource and the table column holding the picture to the image component.

<image dataSource="datasourceName" column="columnHoldingImage"/>

I also prepared a demo application demonstrating image usage. Note that when you change the selected row on the grid, the displayed image also changes. You can access to the demo from the link below:

http://formspideronline.com/formspider/main.html?name=DemoMain#DemoImage

Hope this helps,
Ibrahim

link

answered 21 Mar '13, 10:33

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Hi Ibrahim

Thanks for your answer.

I am developer of Oracle Forms, in Forms 10g on a screen showed an image of the database, and place two buttons to simulate a zoom resizing the image element with porperties adjust no crop, works allow four levels of zoom. You can do something similar or better could be done in formspider?

What image management facilities have in formspider?

I'm doing the tutorials and think it is a very good tool, when they plan to release a next version?

Thanks for the collaboration.

link

answered 22 Mar '13, 06:32

Carlos%20Mayorga's gravatar image

Carlos Mayorga
136
accept rate: 0%

Hi Carlos,

If you need to resize the image, you can achieve this by resizing the cell containing the image component. Considering the following example:

<cell childWidth="201" childHeight="155" name="cell_image">
  <image column="CONTENT" dataSource="T_IMAGE1"/>
</cell>

You can simulate the zoom behavior with the following procedure:

procedure zoom is
  v_cell_r api_layout.t_cell;
begin
  -- get cell containing the image
  v_cell_r := api_panel.getcell('mainPanel', 'cell_image');
  -- increase cell's childWidth and childHeight
  v_cell_r.childWidth_nr  := v_cell_r.childWidth_nr * 2;
  v_cell_r.childHeight_nr := v_cell_r.childHeight_nr * 2;
  -- set cell to resize the image
  api_panel.setcell('mainPanel', 'cell_image', v_cell_r);
end;

Thanks for your kind words about Formspider. We are planning to release the next version within two weeks.

Hope this helps,
Ibrahim

link

answered 22 Mar '13, 07:39

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×10

Asked: 20 Mar '13, 22:11

Seen: 1,354 times

Last updated: 22 Mar '13, 07:39


© Copyright Gerger 2017