temporarily use onload to scale images for now.