limit image uploads to medium size
fix no tb_card present