Improved jpg payload