frame image implementation