I need to get the name of my image and to add img folder before the name of the figure. I use url() function like below
The issue is that I don't get
http://127.0.0.1:8000/img/articles/mypic.jpg
but I get %2F instead of /
http://127.0.0.1:8000/img/articles%2Fmypic.jpg
it works fine in localhost, but does not work properly on my server. I need to reconfigure apache to make it work, and I would like to avoid reconfiguring Apache. Could I avoid encoding / into %2F?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire