Image inclusion fails on blog home page
-
First, thank you for this plugin. It’s great. I’m using it right now to help my students learn to use Markdown. They have to post to our class blog using Markdown; in the most recent assignment, they were required to include an image.
What I’m seeing is that an image uploaded to the media library and included using Markdown syntax does not show up on the site home page, which aggregates all posts. It does show up on the dedicated post page, however. Moreover, it shows up for me on the home page when I’m logged in as admin. I haven’t yet checked to see if it shows up on the home page for other logged-in users.
What shows up on the home page for a not-logged-in-user is the Markdown code. If the image is inserted using the WYSIWYG editor, the first part — ![image description] — gets followed by WordPress image-alignment code and is wrapped in additional square brackets, thus: [![image description]{alignnone}]. The URL in the parentheses that follow is a relative one. That doesn’t prevent the image from being properly included in the dedicated post page. Some students have removed the additional brackets to clean up the code, leaving it correctly as ![image description](url). But again, the image doesn’t show up for me on the site home page unless I’m logged in. This is true whether the URL is left as relative or made absolute.
For now, I’ll be asking students to include images with HTML. But it would be great to see this fixed.
Thanks again for a great plugin!
The page I need help with: [log in to see the link]
- The topic ‘Image inclusion fails on blog home page’ is closed to new replies.