Hi Team,
NOTE: Guess my last post screw-up due to the site upgrade, This is the repost version with additional details; I will close the previous post.
I guess my situation is a bit complicated, let me explain one by one. I guess this is a similar issue to my previous problem with the search item's URL..
Environment:
- J3.2.3
- PHP 5.4.27
- ES 1.2.8 (latest)
- EB 3.9.15370 (latest)
- Installed Blog App v.1.0.11 (latest)
- Falang enable for Multi-lingual support.
Image display in EasyBlog:
- No issue, all works like a charm
Image display in EasySocial:
(Dashboard/Stream)
Filter - Blog: No issue, Blog thumb image display correctly, no content image is displayed
Application - Blog: No issue, no thumb image and no content image is displayed
(My Profile)
Apps - Timeline: No issue, Blog thumb image display correctly, no content image is displayed
Apps - Blog :
- When the AXAJ loaded, I can see the article with proper header image (same thumb pic but a large version)
- All images in the content = broken link, since the source url for images are : (I am testing under the UAT site)
http://192.168.0.112/main/en/town/home/media/com_easysocial/photos/1/1/e95f92c84d6be8fe91ae715e82734cfe_original.jpg
** You can see the /media folder targeted to my Joomla's menu structure, not the site base.
** /main is the Joomla folder
- this won't fix by clicking other apps and then come back to Blog; same issue.
but STRANGE thing happened when I REFRESH / RELOAD the browser page (Apps-Blog);
- All images are now correctly displayed:
img source url changed to: http://192.168.0.112/main/media/com_easysocial/photos/1/1/e95f92c84d6be8fe91ae715e82734cfe_original.jpg
** now it is not following my Joomla's folder SEF, but the real address
I tried it on your demo site but since your demo site are using EasySocial as a default home page, I guess the behavior may be a bit different. I am not setting ES as my default home page.
I would like to describe in details more "technically" :
[ If the broken image referring to a uploaded image]
Load up the page with AJAX ( I have to remove the h_t_t_p header to avoid it auto add "stackideas.com" to my codes): src=
/images/blog_images/170/b2ap3_thumbnail_black_hole_by_m3_f-d55h1n0.jpg
After pressed the REFRESH button ( I have to remove the h_t_t_p header to avoid it auto add "stackideas.com" to my codes): src=
/images/blog_images/170/b2ap3_thumbnail_black_hole_by_m3_f-d55h1n0.jpg
Same reult.
[If the broken image referring to a photo in author''s ES album]
Load up the page with AJAX ( I have to remove the h_t_t_p header to avoid it auto add "stackideas.com" to my codes): src=
media/com_easysocial/photos/1/1/2e148074ed9d80ce4496e760b2320580_thumbnail.jpg
After pressed the REFRESH button ( I have to remove the h_t_t_p header to avoid it auto add "stackideas.com" to my codes): src=
/media/com_easysocial/photos/1/1/2e148074ed9d80ce4496e760b2320580_thumbnail.jpg
See, the path changed, an "/main" add to the beginning... how could that happen and cannot under the logic of the respective code. I just wonder something wrong with the code...
Please advise if it's my isolated issue? or some issue with the program design to retrieve site root / joomla root ?
Thanks a lot.
Best regards,
Alfred/ Dreamonde