fixed img element problem, finally working

working locally, still need to add more features and deploy