Thursday, April 6, 2017

Re: Include pictures in content

You could try http://your.web.site/assets/images/image_name.jpg. Your
settings.py and urls.py files could help to give a better answer.

If home/assets/images contain images uploaded by your user, the doc
[1] explain how to make them available at an url on your website.


[1] https://docs.djangoproject.com/en/1.11/howto/static-files/#serving-files-uploaded-by-a-user-during-development

2017-04-06 11:14 GMT+02:00 <ardunn@dunnsmail.co.uk>:
> I am new to using django which has been used to create our church website. I
> want to incorporate pictures into content on a post. The 'insert image' icon
> on the content toolbar asks for an 'image web link'. The pictures I want to
> include (as pictures, not as links) are on the web site in the default
> home/assets/images folder. Can anyone tell me the format of the link to
> these images stored on the site?
> Thank You, Alan Dunn
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/519d802c-6dd9-4633-a9b2-7dd13db3e281%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Ludovic Coues
+33 6 14 87 43 42

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEuG%2BTYNibE9i%3Dvte%2Bsq%2BeV_0o1ZBAy%3DU507eqMF%3DudNb2Cq7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment