Page 1 of 1
Add Width and Height for Colorbox Modal Images
Posted: Wed Aug 31, 2022 9:34 am
by xgis
Add Width and Height for Colorbox Modal Images so images resize to either;
- Fixed Heights and Widths
- Screen Area / Resolution Percentages
Include it in the Globals
Re: Add Width and Height for Colorbox Modal Images
Posted: Thu Nov 03, 2022 12:41 pm
by MichaelG
Colorbox Settings can be added by Page_Head server event, e.g.
<script>
ew.lightboxSettings = {
...ew.lightboxSettings,
width: 500,
height: 500,
fixed: true,
// ... other settings ...
};
</script>