Skip to Main Content

DevOps, CI/CD and Automation

Source tag in image component not working in iOS devices

Siddharth ChopraAug 28 2014 — edited Aug 28 2014

Hello,

I want to set image url in source tag of image component. Currently i am using JDeveloper 12c(12.1.3.0).

Its working fine in Android Devices but not working in iOS Devices.

Below is my amx page code:

                       <amx:listView var="row" value="#{bindings.youtubeFeeds.collectionModel}"

                                  fetchSize="#{bindings.youtubeFeeds.rangeSize}"

                                  selectedRowKeys="#{bindings.youtubeFeeds.collectionModel.selectedRow}"

                                  selectionListener="#{bindings.youtubeFeeds.collectionModel.makeCurrent}"

                                  showMoreStrategy="autoScroll" bufferStrategy="viewport" id="lv2"

                                  inlineStyle="background-color:rgba(0,0,0,0.3); margin-bottom:10%;">

                        <amx:listItem id="li2">

                            <amx:panelGroupLayout id="pgl5"

                                                  inlineStyle="margin:0;  padding:4%; padding-top:2%; padding-bottom:2%;">

                                <amx:tableLayout id="tl3" width="100%" inlineStyle="width:100%;">

                                    <amx:rowLayout id="rl3">

                                        <amx:cellFormat halign="center" id="cf3" valign="middle"

                                                        inlineStyle="width:45%;">

                                            <amx:image source="#{row.thumbURL}" id="i5" inlineStyle="width:100%;"/>

                                        </amx:cellFormat>

                                    </amx:rowLayout>

                                </amx:tableLayout>  

                            </amx:panelGroupLayout>

                        </amx:listItem>

                    </amx:listView>

I have also tried with setting static url from java code

           youtubeFeeds.setThumbURL("http://iconbug.com/data/9f/507/7539a8d9ee940f052a34a4eaae4775a1.png");

and through binding, i have shown that in listView component. But same issue not working in iOS Devices.


Yes, its working fine. This image is there in a image folder in a project itself.

          <amx:image id="i121" source="/images/bg.jpg" inlineStyle="width:100%; height:100%;"/>


Same thing i want to do this image url.

Any help will be appreciated.


Regards,

Siddharth


This post has been answered by Deepak-Jain on Aug 28 2014
Jump to Answer
Comments
Post Details
Added on Aug 28 2014
4 comments
1,324 views