support lightboxes for image previews

This commit is contained in:
Matthew Hodgson 2016-04-04 00:18:18 +01:00
parent 0eb7b627fc
commit 96b0f42db2
3 changed files with 29 additions and 2 deletions

View file

@ -50,6 +50,7 @@ module.exports = React.createClass({
if (content.info) {
params.width = content.info.w;
params.height = content.info.h;
params.size = content.info.size;
}
Modal.createDialog(ImageView, params, "mx_Dialog_lightbox");