Oracle Apex 5.0-显示静态图像 [英] Oracle Apex 5.0 - Display static image

查看:381
本文介绍了Oracle Apex 5.0-显示静态图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Oracle Apex的新手,我真的很努力地在桌面应用程序上显示静态图像.

I'm new to Oracle Apex and I'm really struggling how to display static images on a desktop application.

我在共享组件"->文件"->静态应用程序文件"中上传了图片,并获得了编号#APP_IMAGES#test.jpg

I uploaded an image at Shared Components -> Files -> Static Application Files and was given the reference #APP_IMAGES#test.jpg

然后在我的应用程序中,通过选择项目",然后在文本框中键入#APP_IMAGES#test.jpg,在源代码"部分中使用此引用

In my application I then used this reference in the 'source' section by selecting 'item' and then typing #APP_IMAGES#test.jpg in the textbox

当我运行该应用程序时,该图像没有出现.这些区域可见,但没有图像.我什至没有收到错误.

When I run the application the image doesn't appear. The regions are visible but no image. I don't even get an error.

感谢您的帮助

推荐答案

有几种显示图像的选项.但是,如果要使用一个项目来显示一个项目,则可以使用显示图像"类型的项目.
在该项目的设置"中,您可以选择一些图像的来源:

There are several options to display an image. But if you want to use an item to display one, you can use an item of the type "Display Image".
In the "Settings" for this item you get a few options on where the image should come from:

  • 存储在页面项目值"中的图像URL
  • 在项目源中指定的
  • BLOB列
  • SQL语句返回的BLOB列
  • Image URL stored in Page Item Value
  • BLOB Column specified in Item Source
  • BLOB Column returned by SQL statement

在处理来自数据库的图像时,您将使用BLOB列,但是在这里您可以仅使用图像URL"选项.

You'd use the BLOB columns when working with images coming from the database, but here you can just use the "Image URL" option.

然后您要做的就是在该项目的源中指定URL.

All you need to do then is to specify the URL in the item's source.

显然,还有其他方法.例如,您确实可以自己生成HTML.

Obviously there are other methods too. You could indeed just generate the HTML yourself, for example.

这篇关于Oracle Apex 5.0-显示静态图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆