By Print and Web Designer on Tuesday, 10 December 2013
Posted in General Issues
Replies 10
Likes 0
Views 2.2K
Votes 0
Folks,

We are having a problem where images are not appearing in blog posts and thumbnails are not appearing on the sidebar due to the insertion of the word "entry" into the image URL. The image URLs are relative (inserted by JCE). If we manually remove the "entry" word from the blog path everything works OK.

If a blog entry is accessed via http://www.thecorehealthpartners.com/inklings/heros.html then images are referenced as:
http://www.thecorehealthpartners.com/images/easyblog_images/576/b2ap3_thumbnail_Greatest-Glory.jpg and the image is displayed.

(Accessed via a EasyBlog -> Single Blogger Layout)
If a blog entry is accessed via http://www.thecorehealthpartners.com/inklings/entry/heros.html then images are referenced as:
http://www.thecorehealthpartners.com/inklings/entry/images/easyblog_images/576/b2ap3_thumbnail_Greatest-Glory.jpg and a 404 is returned.

Is this a know issue with EasyBlog?

(Partial list)
Joomla! 3.2.1 Stable
EasyBlog 3.9.15110
RokCommon 3.1.6
RokNavMenu 2.0.7

Thanks in advance for any assistance.

Regards,
Myra
Hello Myra,

I believe this could be due to the mod_rewrite on the site. Is it possible for you to provide us with the back end and FTP access to your site to check on this issue?
·
Tuesday, 10 December 2013 10:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,

Thank you for looking into this. A coworker has sent you a user and password that will provide you access to the backend. I have also attached a copy of the site's .htaccess file so that you may see the mod_rewrite rules added by Joomla.

Regards,
Myra
·
Wednesday, 11 December 2013 04:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Myra,

Got it, but I need to ftp access too.
·
Wednesday, 11 December 2013 12:09
·
0 Likes
·
0 Votes
·
0 Comments
·
FTP Access was sent via email yesterday at your request.
·
Wednesday, 11 December 2013 20:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Myra,

I am sorry for the delay of this reply, it's a public holiday for us here in Malaysia. Hm, i don't actually see any link to /entry/ on the site and when I accessed http://www.thecorehealthpartners.com/inklings/entry/heros.html , I seem to be redirected to the front page.
·
Wednesday, 11 December 2013 21:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,

I removed the /entry/ part of the path by changing the SEO configuration from EasyBlog from default to simple. I added a Rewrite rule into .htaccess that provides a work-around for this problem, but there is still an underlying issue.

RewriteRule ^inklings/images/(.*)?$ /images/$1 [PT]

The problem is that images inserted with relative paths are referenced as http://<site.com>/<blogname>/images/...
<blogname> needs to be removed from the path or a 404 is returned. The above rewrite rule provides a work-around.

(This discussion is also in another email thread)

Regards,
Myra
·
Thursday, 12 December 2013 12:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Myra,

Hm, sorry but I am a little lost here. Can you please provide me with a link to the page that has this issue? Also, do you want to keep this 301 redirects?
·
Thursday, 12 December 2013 15:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,

There are no pages that will show the problem at this point as I have added rewrite rules to hide the symptoms. There is however still a problem with EasyBlog not correctly handling relating URLs for images.

Regards,
Myra
·
Friday, 13 December 2013 13:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,

I will see if I can recreate the problem on a non-production site so that you can troubleshoot it.

Regards,
Myra
·
Friday, 13 December 2013 13:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Myra,

Sorry for the late reply. Thanks! Do keep us updated on this.

Cheers!
·
Friday, 13 December 2013 16:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post