store img with information about the type
fix some test especialy with images
update table for thumb data image... don't forged rad TODO