Intel XDK: Controls 11: Customizing IMAGE GALLERY Widget in App Designer 7

In this post we will add more images to the slide show in the IMAGE GALLERY widget in App Designer 7 of Intel XDK. We basically use the same documents we used earlier in the previous post here ( http://hodentekmobile.blogspot.com/2016/09/intel-xdk-controls-10-image-gallery.html ).

The design of the FIRST page in the TabbarWidget page has not changed.

Cntrl11_00.PNG

What gets changed are the extra images added to the gallery_images folder and the changes to the gallery-images.json page which points to these added images. Make sure the images added are 640x480.

It is very easy to locate the folder to place your images. Just right click gallery_images as shown and click Show in Explorer.

Cntrl11_01.PNG

I added four more images, BavarianAlps.png, PragueAerial.png, Vienna.png and Salzburg.png to the gallery_images folder.

Right click www under projects and click Refresh File Tree.Expand gallery_images and verify the images are there.

Cntrl11_02.PNG

Now modify the gallery_json page as shown:


The image file extensions in the .json file should correctly match the file name and file extensions of the images.

That is all there is to it.


Simulate and verify as shown.



For Sortable List review this.

Comments

Popular posts from this blog

Deploying a Universal Windows Project to Lumia 950

Event Code: UI design with XAML in Visual Studio 2017 - 2

Towards cross-platform development..