After upgrading to Geeklog 2.0 I went back to edit an existing story draft and noticed that the story editor was no longer displaying [image1], [image2] for images but instead was displaying the URL to the image.
If I create a new story with an image, I can edit the story and the image tags appear correctly.
I tracked this down to minor difference in the database but I'm not sure of the proper corrective approach.
On existing stories, the gl_stories table images look like this:
Text Formatted Code
<img width="500" height="375" src="http://thatlinuxbox.com/blog/images/articles/20080120213334314_1.JPG" alt="">
On new stories, the gl_stories table images look like this:
Text Formatted Code
<img width="600" height="450" src="http://thatlinuxbox.com/blog/images/articles/2013091714351166_1.jpg" alt="" />
Notice that the newly created stories have a trailing slash just before the img closing tag.
This is what the editor looks like for older stories. Instead of showing "[image1]" it shows the actual long URL:
http://imgur.com/hcX2OUU
So the story editor is only recognizing images with the trailing slash in the img tag. But none of my images in the gl_stories database have that trailing slash.
I tried disabling all of the extra plugins, this didn't change the behavior.
I am wondering if something missed during my database upgrade, or maybe there is a problem in the story.php code and it shouldn't actually be needing that slash?
I would rather not bulk-update all reference to images in my database if a better fix is available in some other way (e.g. something in story.php or the underlying bits).
Thanks!
- Dan Stoner