decorative banner

RandomImage


    The RandomImage action randomly swaps the contents of an image placeholder with one of three images each time the page is loaded.

    In the page, select the image you want to replace, and in the More tab of the Image Inspector, enter a unique alphanumeric name in the Name text box.

    Tip iconNormally, all images will display with the dimensions of the placeholder image. To enable the images to display with different dimensions, change the placeholder image's Width and Height values from Pixel to Image in the Image Inspector.

    Trigger the action with a browser-triggered event set to OnLoad or a user-triggered event. Choose Action > Image > RandomImage. In the Base Image pop-up menu, choose the base image you want to have replaced. Reference each of the alternate image files.

    Important: You must reference all three images to replace the placeholder image, otherwise the image will randomly appear as an empty reference.