#1 2017-11-21 10:28:48

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

Where are placed the images of the Carousel app sample

Hi,
I would like to know how to load the images in the Carousel sample.

Where are the images saved ?

Thanks
Best
Joseph Caristena

Offline

#2 2017-11-21 10:54:12

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Where are placed the images of the Carousel app sample

Hello Joseph,

You can see it in the "UpdateImages" app's function. Here is the code of that function:

Math "round([App.InnerWidth])" "[NewWidth]"
Math "round([App.InnerHeight])" "[NewHeight]"

ArrayClear "[Carousel1.Source]"

Loop "1" "9" "[I]"
  ArrayPush "[Carousel1.Source]" "http://lorempixel.com/[NewWidth]/[NewHeight]/?r=[I]"
EndLoop

As you can see, the images are taken in a "random" way from the lorempixel.com service.

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.