More resilient resizing usage.  If none is given for a dimension, determines proper resolution before resizing and searches for that in db, resizes if necessary