imageWell (class)

class imageWell(log, title='Title of Image Well', description='Description of the content of the image well', imageDisplay='rounded')[source]

Bases: object

Framework for a bootstrap style well containing thumbnail images that can be clicked on to reveal a modal of more imformation

Key Arguments

  • log – logger

  • title – Title of Image Well

  • description – Description of the content of the image well

  • imageDisplay – [ rounded | circle | polaroid | False ]

Methods

appendImage(imagePath, imageTitle[, …])

append an image to the image well

close()

get()

get the image well

appendImage(imagePath, imageTitle, modalHeaderContent='', modalFooterContent='', modalFooterButtons=[])[source]

append an image to the image well

Key Arguments

  • imagePath – path to the image to add to the well

  • imageTitle – text to tag the image with

  • modalHeaderContent – the heading for the modal

  • modalFooterContent – the footer (usually buttons)

Return

  • None

get()[source]

get the image well

Return

  • imageWellRow – the html text