replace full image url with thumbnail
This commit is contained in:
parent
d2fd41d81e
commit
282f3e1b0b
1 changed files with 2 additions and 1 deletions
|
@ -144,6 +144,7 @@ Container {
|
|||
}
|
||||
}
|
||||
Container {
|
||||
// TODO: add tab to open full image in a page
|
||||
horizontalAlignment: HorizontalAlignment.Center
|
||||
bottomMargin: ui.sdu(2.0)
|
||||
WebImageView {
|
||||
|
@ -152,7 +153,7 @@ Container {
|
|||
if (typeof ListItemData.raw !== "undefined") {
|
||||
ListItemData.raw.forEach(function (item) {
|
||||
if (item["type"] == "io.pnut.core.oembed") {
|
||||
oembed = item["value"]["url"]
|
||||
oembed = item["value"]["thumbnail_url"]
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Reference in a new issue