imagingModal (class)

class imagingModal(log, dbConn=False, imagePath=False, display=False, modalHeaderContent='', modalFooterContent='', modalFooterButtons=[], stampWidth=180, modalImageWidth=400, downloadLink=False)[source]

Bases: object

An image and modal – click on the image to present the modal of the larger image with download options

Key Arguments

  • dbConn – mysql database connection

  • log – logger

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

  • imagePath – path to the image to be displayed

  • modalHeaderContent – the heading for the modal

  • modalFooterContent – the footer (usually buttons)

  • stampWidth – 180

  • modalImageWidth – 400

  • downloadLink – False

Methods

close()

get()

get the object

get()[source]

get the object

Return

  • imageModal