khufu.images.imagingModal module ∞
An image and modal – click on the image to present the modal of the larger image with download options
- Author
David Young
-
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 connectionlog
– loggerdisplay
– [ rounded | circle | polaroid | False ]imagePath
– path to the image to be displayedmodalHeaderContent
– the heading for the modalmodalFooterContent
– the footer (usually buttons)stampWidth
– 180modalImageWidth
– 400downloadLink
– False