Enriching your DataPages with images adds clarity and usability, improving how users receive and interpret the presented content. You can further increase the positive impact that images have on user experience by displaying a tooltip with a description that appears when users hover over the picture.

For example, you can include such tooltips on images displayed in a real estate listing app to provide some additional information about each image:

A screenshot showing a photo with a row of townhouses and a tooltip displayed under the mouse pointer.


You can use this functionality on Table, Gallery, List, and Details Report DataPages.



  1. In your table, create a File field for storing images and a Text255 field for storing image descriptions that you want to display on hover.
  2. In a report DataPage, configure the image file field:
    1. On the Search and Report Wizard - Configure Results Page Fields screen, on the Standard tab, in the Display as list, select Image.
    2. On the Advanced tab, in the Image Alt Attribute list, select Custom text or dynamic, and then insert a reference to the Text255 field from step 1.
      The Search and Report Wizard page showing how to configure the Image Alt Attribute to display the image description on hover.
  3. In the lower-right corner of the DataPage Elements panel, click the Insert button , and then add a Header & Footer.
  4. In the header of the DataPage, disable the HTML editor, and then add the following HTML/CSS code to display the Image Alt Attribute content in a tooltip when users hover over the image:
    The Search and Report Wizard page showing the code to insert to enable the tooltip on hover.
  5. Click Finish.

Result: When the user hovers over an image, the image description will appear in a tooltip.

Note: This article uses external HTML, JavaScript, or third-party solutions to add functionality outside of Caspio Bridge’s standard feature set. These solutions are provided “as is” without warranty, support, or guarantee. The code within this article is provided as a sample to assist you in the customization of your web applications. You may need a basic understanding of HTML and JavaScript to implement successfully.

For assistance with further customization based on your specific application requirements, please contact our Professional Services team.


if (document.DataPageReadyHandler == undefined) { 

const imageTitlesAssignment = () => { 

document.querySelectorAll('form[action*="[@cbAppKey]"] .cbResultSetData img[alt], form[action*="[@cbAppKey]"] .cbFormData img[alt]').forEach( img => { 

img.setAttribute('title', img.getAttribute('alt')) 



const DataPageReadyHandler = (e) => { 

 if (e.detail.appKey != '[@cbAppKey]') { return } 



document.addEventListener('DataPageReady', DataPageReadyHandler) 

document.DataPageReadyHandler = 'Enabled'