John6122514
Posts: 0
Joined: Wed Aug 07, 2013 7:10 pm

Homepage image override from service

I have a home page image for my logo. When I go to another page that has images being loaded from a rest service and then go back to my home page the first image from the rest services overrides my logo image.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Homepage image override from service

Hi John,

Please provide us with more details about image services implementation.

How did you set that images (may be you are using some JS code?)

John6122514
Posts: 0
Joined: Wed Aug 07, 2013 7:10 pm

Homepage image override from service

Hi,

The service is an XML service and the images are part of a larger response. The images are setup with an array and I assign the array to a Carousel. No special JS code to pull the images into the component. But I am using the following JS to run the Carousel.
var interval = 3000; // == 3 seconds
function moveCarousel() {
if ($("[dsid=mobilecarousel_109]", $.mobile.activePage ).length) {
Appery( "mobilecarousel_109" ).carouselRoot.carousel("next");
setTimeout(moveCarousel, interval);
}
}
setTimeout(moveCarousel, interval);

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Homepage image override from service

Hi John, can you show us an XML service response example?

John6122514
Posts: 0
Joined: Wed Aug 07, 2013 7:10 pm

Homepage image override from service

-
-
-
-
-
-
-

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Homepage image override from service

Hi John, use tag pre<code><code>/pre, please.

John6122514
Posts: 0
Joined: Wed Aug 07, 2013 7:10 pm

Homepage image override from service

code
element name="photo_data" minOccurs="1"
xsd:complexType
xsd:sequence
xsd:element name="photo" type="xsd:string" minOccurs="1"
xsd:sequence
xsd:complexType
sd:element

/code

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Homepage image override from service

John, can you please give us a public link to your app? (You can mail it to us directly to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a)
:: http://docs.appery.io/documentation/s...

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Homepage image override from service

Hi John.

We can't to find a problem in your APP.

Please specify steps to reproduce it.

Thanks.

John6122514
Posts: 0
Joined: Wed Aug 07, 2013 7:10 pm

Homepage image override from service

The issue is no longer happening. Not sure what fixed issue.

Return to “Issues”