support lightboxes for image previews
This commit is contained in:
parent
0eb7b627fc
commit
96b0f42db2
3 changed files with 29 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue