Skip to Content

How to make a grid with images inside?

Oct 25, 2017 at 10:53 AM


avatar image
Former Member

Hello everyone,

I'm trying to develop a SAPUI5 application that shows a collection of images with their titles in a grid layout.

I've tried the following:

  1. Using sap.ui.layout.Grid in combination with HBox wrapping an sap.m.Image and an sap.m.ObjectIdentifier
  2. Using a Grid in Combination with CustomTiles/GenericTiles
  3. Using a Grid with ImageContents

But nothing of that brought pleasing results... I am looking for something like this:

How can I achieve a Grid like this in UI5?

kind regards,


grid.jpg (76.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Iftah Peretz
Mar 04 at 03:00 PM


If you don't like the second option you tried, I would look for some external lib to get this done (e.g. this one). Of course, you'd need to choose the best fitting one to your needs (licensing wise, API, ease of integration to SAPUI5 framework etc.).

10 |10000 characters needed characters left characters exceeded