Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

How to add images in news/blog content? #448

Open
AsimAziz opened this issue Mar 21, 2017 · 3 comments
Open

How to add images in news/blog content? #448

AsimAziz opened this issue Mar 21, 2017 · 3 comments

Comments

@AsimAziz
Copy link

Is there any support available in content editor (lead) to add Media files to the content i.e I want to publish a news which will have a featured image and also will have some images inside the content. I can't see any option to do that until unless I do it from the Source. Is Source the only way to do or there is some other option available?

@dietmar
Copy link

dietmar commented May 8, 2017

I also had trouble figuring this out, and I strongly feel the user interface should be improved.

The "Lead" is really only meant as the lead, i.e., the part that will be shown in an overview over all news entries for example. You need to add plugins to the news entry for it to have a "real" main content:

  • Create a news entry, with title, lead, etc., save it
  • Go to your news overview, the new item should be there
  • Click on the title of the new item, to get to the "detailed view"
  • Click on "Structure" in the CMS bar on top
  • Click on the plus symbol in the top section called Newsblog_Article_Content
  • Add plugins, e.g. a text plugin (to which you can add images), or an image plugin, ...

@mykljohn
Copy link

Hi, I would like to place the image like in Start Bootstrap Modern Business Blog home 2.

https://blackrockdigital.github.io/startbootstrap-modern-business/blog-home-2.html

image

The Template to display the image is:
<div class="col-md-5"> <a href="blog-post.html"> <img class="img-responsive img-hover" src="http://placehold.it/600x300" alt=""> </a> </div>
I would like the image to go where src="http://placehold.it/600x300". Is this possible?

@remydev
Copy link

remydev commented Nov 18, 2017

Hello,

It's strange to use this function to add pictures because it's not the same css if i add some other text after the picture
The first text is in the class "lead"
and after it's in a usual "content"

And in the structure pannel i can't see the text from the normal blog, i have just what i add

image

How did divio to add some pictures in the blog text like this link :

http://support.divio.com/academy/basic-how-to-build-a-website-and-blog-with-django-cms-60-minutes/6-configuring-content-and-navigation

I also try the divio cloud, i get the same trouble.
Thanks

image

Screenshot from divio cloud.

Reply

I'm mixing the summary (lead) with the article itself.

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

No branches or pull requests

4 participants