Add img func to handle image paths
Some stuff