oracle apex:显示基于 url 的图像作为报告列
oracle apex: display an image based on url as a report column
在我的经典报告中,我有一列将 URL 存储到图像。是否可以在经典报告中加载图像?或者有其他方法可以将图像显示为报告中的列吗?
将 HTML 标签应用于 URL。
例如,如果这是你的 table:
create table images
(id number,
url varchar2(100));
insert into images (id, url) values (1, 'http://www.my_site.com/my_car.jpg');
那么 Apex 经典报告的查询应该如下所示:
select
id,
'<img src=' || URL || '>' url
from images
导航到 URL 列的属性并将 "Escape special characters" 设置为 NO(因为您希望 Apex 正确解释 IMG 标签)。
运行 报告,您应该会看到所有图像。
Select 列下的特定列。
在列属性中,Under Link Select Target as "URL" 并提供列名称格式为 &.
在我的经典报告中,我有一列将 URL 存储到图像。是否可以在经典报告中加载图像?或者有其他方法可以将图像显示为报告中的列吗?
将 HTML 标签应用于 URL。
例如,如果这是你的 table:
create table images
(id number,
url varchar2(100));
insert into images (id, url) values (1, 'http://www.my_site.com/my_car.jpg');
那么 Apex 经典报告的查询应该如下所示:
select
id,
'<img src=' || URL || '>' url
from images
导航到 URL 列的属性并将 "Escape special characters" 设置为 NO(因为您希望 Apex 正确解释 IMG 标签)。
运行 报告,您应该会看到所有图像。
Select 列下的特定列。 在列属性中,Under Link Select Target as "URL" 并提供列名称格式为 &.