Added html to pdf conversions, upgraded image popup