Maximize image width, added compact class behavior

Set <body class="compac"> to create a more compacted html output