You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently updated from Gallery 1.5.2 to version 1.7 and suddenly Slimbox plugin stopped adjusting the final height and width of images to fit to the screen. It seems to me that it just started to ingore the settings of imageHeight and imageWidth. With the lower version of Gallery it worked just fine. As I checked, there is no explicit way to set maxHeight and maxWidth in slimbox itself.
I wonder what has changed or what am I doing wrong? Unfortunately I was not even able to go back the lower version so now I have to resize the images manually and during the upload to a given size, which is not a neat solution for multiple devices.
I have also a remark about "next" and "prev" buttons in Slimbox. They do not work with any released version of Gallery, since a line in core/components/gallery/model/gallery/plugins/slimbox.class.php has to be changed from $scriptProperties['linkAttributes'] = $this->modx->getOption('linkAttributes',$scriptProperties,'').' rel="lightbox"';
to $scriptProperties['linkAttributes'] = $this->modx->getOption('linkAttributes',$scriptProperties,'').' rel="lightbox[album]"';
It might be nice to include this change to a release version so that it does not have to be changed every time one manipulates with Gallery.
The text was updated successfully, but these errors were encountered:
I have recently updated from Gallery 1.5.2 to version 1.7 and suddenly Slimbox plugin stopped adjusting the final height and width of images to fit to the screen. It seems to me that it just started to ingore the settings of imageHeight and imageWidth. With the lower version of Gallery it worked just fine. As I checked, there is no explicit way to set maxHeight and maxWidth in slimbox itself.
I wonder what has changed or what am I doing wrong? Unfortunately I was not even able to go back the lower version so now I have to resize the images manually and during the upload to a given size, which is not a neat solution for multiple devices.
I have also a remark about "next" and "prev" buttons in Slimbox. They do not work with any released version of Gallery, since a line in core/components/gallery/model/gallery/plugins/slimbox.class.php has to be changed from
$scriptProperties['linkAttributes'] = $this->modx->getOption('linkAttributes',$scriptProperties,'').' rel="lightbox"';
to
$scriptProperties['linkAttributes'] = $this->modx->getOption('linkAttributes',$scriptProperties,'').' rel="lightbox[album]"';
It might be nice to include this change to a release version so that it does not have to be changed every time one manipulates with Gallery.
The text was updated successfully, but these errors were encountered: