module with data uri encoding