Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image url is chnging randomly #117

Open
veshitala opened this issue Feb 14, 2019 · 1 comment
Open

Image url is chnging randomly #117

veshitala opened this issue Feb 14, 2019 · 1 comment

Comments

@veshitala
Copy link

when i'm uploading image it is being saved in 'static/blog/uploads/%Y/%m/%d/' ,,but while retrieving the image url is changing according to slug, .for example i saved image initially in 'http://127.0.0.1:8000/static/blog/uploads/2019/02/14/IMG_20180822_185720714.jpg' , but when i'm opening ,my blog to for continue reading url changes to 'http://127.0.0.1:8000/blog/data-science-blog/static/blog/uploads/2019/02/14/IMG_20180822_185720714.jpg' . How i can cope up with this .How to use slug field properly.

@veshitala
Copy link
Author

{% if blog_name.featured_image %}




{% endif %}

i think this line is causing problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant