2 @thumbnail_size: (w, h) ->
3 lw = Manifest.manifest().magic_numbers['thumbnail_width']
4 lh = Manifest.manifest().magic_numbers['thumbnail_height']
5 Pettanr.Imager.fix_size_both lw, lh, w, h
7 @fix_size_both: (limw, limh, w, h)->
17 [Math.floor(w*wr/100), Math.floor(h*wr/100)]
19 [Math.floor(w*hr/100), Math.floor(h*hr/100)]