if statement on checkboxes
add img convert to base64