variable update for imgWidth

Signed-off-by: Jeremiah Trein <jeremiahtrein@gmail.com>