Calculate frame dimension base on values from admin.
Merge remote-tracking branch 'origin/master'