Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The most basic example of how to trigger Maximage2.
<!-- Basic HTML -->
<div id="maximage">
<img src="../lib/images/demo/wall_portrait.jpg" alt="" width="1400" height="1050" />
<img src="../lib/images/demo/coalesse.jpg" alt="Coalesse" width="1400" height="1050" />
<img src="../lib/images/demo/laughing.jpg" alt="" width="1400" height="1050" />
<img src="../lib/images/demo/roof_shooting.jpg" alt="" width="2048" height="1536" />
<img src="../lib/images/demo/man.jpg" alt="" width="2048" height="1536" />
<img src="../lib/images/demo/coffee_shop.jpg" alt="" width="2048" height="1536" />
<img src="../lib/images/demo/gas_station.jpg" alt="" width="2048" height="1536" />
</div>
// Basic Javascript
$(function(){
// Trigger maximage
jQuery('#maximage').maximage();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.