Added support for preview.html

Still need to add in the real image sizes
Properly reading the svg's dimensions