modify calculate img width and height effects