fix bugs in generation of alternative resolutions
Merge pull request #1 from relekang/alternative_resolutions

fix bugs in generation of alternative resolutions
Merge remote-tracking branch 'origin/alternative_resolutions' into localwiki
custom3 for localwiki packaging