# q-img, cannon get image from local folder

• q-img, cannon get image from local folder, from http:// working good
I`ve tried src="…/statics/item1.png" and src="~statics/item1.png" , src=“statics/item1.png”
and :src=“url” ,
data () {
return {
url: ‘…/statics/item1.png’
}
}
Can anybody help?

• Use

`../statics/img.jpg`

Note this depends on how deep in your file tree you are, if your 2 folders deep then you need `../../statics/img.jpg` and so on

Your relative file path is wrong. If your using something like VS code , I imagine there’s a way to get the relative path