move img and font to globals in public