By Heiko Weiss on Saturday, 22 April 2017
Posted in Technical Issues
Likes 0
Views 320
Votes 0
I installed a copy of my live site with Easyblog 5.0.44 in my local MAMP and then i noticed that pictures from blog articles (in a thumbnail block) where loaded from the live site (see attached MAMP_Easyb5_044.jpg).

After updating Easyblog to V5.4.1 in MAMP, the images from blog articles (in a thumbnail block) where not loaded. The URL contains a part of my live site (see attached MAMP_Easyb5_14.jpg).

In backend the paths of images are correct (see attached MAMP_Easyb5_14-backend.jpg).
I miss also a the possibility to set the size of images in a popup. It was there in earlier versions (V5.0.44).
Hello Heiko,

In EasyBlog 5.1, you have the ability to configure EasyBlog to use relative URLs for new posts. You can actually set them here, http://take.ms/hr6wa

Setting it to use relative urls would solve issues where you post a blog post on your local instance and export the contents on a different site.

However, this option should already be activated by default. Is there any way I can test this issue on a staging / testing site?
·
Saturday, 22 April 2017 12:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

sorry for the delay.
I've installed a copy (with Akeeba) of my live site on a test server and provided the credentials (with some comments!) in this post.
Easyblog is still on V5.0.44 and the image links of blog articles in frontend are still loaded from my live site …
After checking this, you can update Easyblog to the latest version. Then the image links of blog articles in frontend are not found.

Regards
Heiko
·
Tuesday, 25 April 2017 03:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

It seems like you provided that Joomla backend user account do not have Superadmin privileges, so I was unable to upload installer through your Joomla backend page, you can check my attached screenshot below.
·
Tuesday, 25 April 2017 16:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex,

sorry my fault. Now you are superadmin!

Regards
Heiko
·
Tuesday, 25 April 2017 16:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Heiko,

I have upgraded EasyBlog to 5.1.5 on your test site, can you give this a try again? By the way, you should take advantage of the new grid layout in EasyBlog since you are using the nickel theme.

The grid layout can be created by creating a new menu item for it
·
Tuesday, 25 April 2017 23:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

thanks for your efforts.
Did you read my comments in my start post and in post #2?
The problems with wrong image links in blog articles still exists.
Before update and after updating to latest version.
·
Wednesday, 26 April 2017 00:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Heiko,

Can you provide me with a link to the post that is demonstrating such issue?
·
Wednesday, 26 April 2017 01:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, here
This behaviour is at every post with a thumbnail block on the bottom of the post.
·
Wednesday, 26 April 2017 01:32
·
0 Likes
·
0 Votes
·
0 Comments
·
There is also a bug in block "Thumbnails" in backend.
In earlier versions (eg. V5.0.44) you can set the output size for the popup of every image.
Since version 5.1.x this option is gone!
·
Wednesday, 26 April 2017 01:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Heiko Weiss,

I am sorry for the delay of this reply.

Regarding the issue with the image not being displayed, I've fixed the issue internally and I've also applied the fix on your test site. Now the images are displayed correctly and the popup is working correctly.

Please see:
http://take.ms/XJkzQ
http://take.ms/k3LkQ

Below are the file I've modified on your test site.

JOOMLA/administrator/components/com_easyblog/includes/string/string.php

The same fix will be included into next release of EasyBlog 5.1 as well.

Hope this help and have a nice day
Sam
·
Wednesday, 26 April 2017 14:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

thank you very much.
The thumbnail pictures are now loaded from test site. The popup is also working, but the popup pictures are still loaded from my live site and not from test site!
Please check this again.

Did you noticed my bug report in post #9?

And is it correct, that the composer is opened in a new browser tab or window?

Regards
Heiko
·
Wednesday, 26 April 2017 14:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Heiko,

The thumbnail pictures are now loaded from test site. The popup is also working, but the popup pictures are still loaded from my live site and not from test site!
Please check this again.


Regarding the above, this is actually the correct behaviour. What happen is, the post was created from your live site and the image already has the absolute path to your live site. When you duplicate your live site to your testing site, the domain name is now different from your live site, hence, when EasyBlog attempt to convert the absolute path to relative path, it failed due to different domain name. Hence, the image still being served from your live site.

In earlier versions (eg. V5.0.44) you can set the output size for the popup of every image.


As for the above, we've removed the 'popup' option from the thumbnail block. Now, the popup image will be defaulted to 'large' size.

And is it correct, that the composer is opened in a new browser tab or window?


Yes, in EasyBlog 5.1, we no longer open the composer in 'window' ( or popup) mode. The composer will be opened in new browser tab ( new browser window).

Hope this help and have a nice day
Sam
·
Wednesday, 26 April 2017 16:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam

I have noticed the exact same issue on my test site that you were working on before...

This only occurred after the update to 5.1.4. A copy of a page i opened before the update (but after the test site copy was created), has all the images displayed ok.

So, is there something else happening here?

Paul
·
Wednesday, 26 April 2017 16:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Paul,

Not sure if you are having the same issue as Heiko but what happen on his site is that, the wrong url being returned when EasyBlog attempt to convert the image's absolute path to relative path which causing the url to be 'invalid'.

I guess your issue is different from Heiko.

Hope this help
Sam
·
Wednesday, 26 April 2017 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
I think it's the same issue as Heiko's. But i'll create a separate private ticket so you can check and I'll provide a copy of the links so you can see.
·
Wednesday, 26 April 2017 16:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Paul,

Sure, our support will then look into your issue again.
Thanks and have a nice day
Sam
·
Wednesday, 26 April 2017 17:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam!


The thumbnail pictures are now loaded from test site. The popup is also working, but the popup pictures are still loaded from my live site and not from test site!
Please check this again.


Regarding the above, this is actually the correct behaviour. What happen is, the post was created from your live site and the image already has the absolute path to your live site. When you duplicate your live site to your testing site, the domain name is now different from your live site, hence, when EasyBlog attempt to convert the absolute path to relative path, it failed due to different domain name. Hence, the image still being served from your live site.


So what will happen, when i make changes or redesign my site using a test installation and then i backup the test site to live site?
Will this work? I don't think so …
In my eyes this is wrong behaviour!
All other components or joomla itself will handle this correct.


In earlier versions (eg. V5.0.44) you can set the output size for the popup of every image.


As for the above, we've removed the 'popup' option from the thumbnail block. Now, the popup image will be defaulted to 'large' size.

I prefer original size, because it has better image quality. On my site is original size the same as large size.
Please reactivate this option!

And is it correct, that the composer is opened in a new browser tab or window?


Yes, in EasyBlog 5.1, we no longer open the composer in 'window' ( or popup) mode. The composer will be opened in new browser tab ( new browser window).


That´s ok, but when you click on the "back" button, the window/tab will not close.
Instead, you will will have a second backend window … That is not ideal.

Regards
Heiko
·
Wednesday, 26 April 2017 17:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam!

The thumbnail pictures are now loaded from test site. The popup is also working, but the popup pictures are still loaded from my live site and not from test site!
Please check this again.


Regarding the above, this is actually the correct behaviour. What happen is, the post was created from your live site and the image already has the absolute path to your live site. When you duplicate your live site to your testing site, the domain name is now different from your live site, hence, when EasyBlog attempt to convert the absolute path to relative path, it failed due to different domain name. Hence, the image still being served from your live site.


So what will happen, when i make changes or redesign my site using a test installation and then i backup the test site to live site?
Will this work? I don't think so …
In my eyes this is wrong behaviour!
All other components or joomla itself will handle this correct.

In earlier versions (eg. V5.0.44) you can set the output size for the popup of every image.


As for the above, we've removed the 'popup' option from the thumbnail block. Now, the popup image will be defaulted to 'large' size.

I prefer original size, because it has better image quality. On my site is original size the same as large size.
Please reactivate this option!

And is it correct, that the composer is opened in a new browser tab or window?


Yes, in EasyBlog 5.1, we no longer open the composer in 'window' ( or popup) mode. The composer will be opened in new browser tab ( new browser window).


That´s ok, but when you click on the "back" button, the window/tab will not close.
Instead, you will will have a second backend window … That is not ideal.

Regards
Heiko
·
Wednesday, 26 April 2017 17:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam!

The thumbnail pictures are now loaded from test site. The popup is also working, but the popup pictures are still loaded from my live site and not from test site!
Please check this again.


Regarding the above, this is actually the correct behaviour. What happen is, the post was created from your live site and the image already has the absolute path to your live site. When you duplicate your live site to your testing site, the domain name is now different from your live site, hence, when EasyBlog attempt to convert the absolute path to relative path, it failed due to different domain name. Hence, the image still being served from your live site.


So what will happen, when i make changes or redesign my site using a test installation and then i backup the test site to live site?
Will this work? I don't think so …
In my eyes this is wrong behaviour!
All other components or joomla itself will handle this correct.

In earlier versions (eg. V5.0.44) you can set the output size for the popup of every image.


As for the above, we've removed the 'popup' option from the thumbnail block. Now, the popup image will be defaulted to 'large' size.

I prefer original size, because it has better image quality. On my site is original size the same as large size.
Please reactivate this option!

And is it correct, that the composer is opened in a new browser tab or window?


Yes, in EasyBlog 5.1, we no longer open the composer in 'window' ( or popup) mode. The composer will be opened in new browser tab ( new browser window).


That´s ok, but when you click on the "back" button, the window/tab will not close.
Instead, you will will have a second backend window … That is not ideal.

Regards
Heiko
·
Wednesday, 26 April 2017 17:13
·
0 Likes
·
0 Votes
·
0 Comments
·
I've now added my own ticket for this same problem.

https://stackideas.com/forums/blog-images-now-show-broken-links-since-test-site-was-updated-to-5-1-4

I have spotted that the issue is only related to images within the blog post, and the cover image is not affected and displays correctly.
·
Wednesday, 26 April 2017 17:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Paul,

yes you are absolutely right!
So there is a problem.
@Sam, please check this!

By the way, Paul i can't find your ticket!
·
Wednesday, 26 April 2017 18:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Heiko,

So what will happen, when i make changes or redesign my site using a test installation and then i backup the test site to live site?
Will this work? I don't think so …
In my eyes this is wrong behaviour!
All other components or joomla itself will handle this correct.


Currently EasyBlog need to store the absolute path for the use in composer thus if you saving your blog content on your localhost, I am afraid this will not work.

I prefer original size, because it has better image quality. On my site is original size the same as large size.
Please reactivate this option!


Thanks for your input regarding this matter. I will discuss with the team and see if we can have better solution to address this matter.

That´s ok, but when you click on the "back" button, the window/tab will not close.
Instead, you will will have a second backend window … That is not ideal.


Regarding the above, I am sorry for the confusion. I just tested again and it will not open a new browser tab. The composer will load on your current browser tab. Please see http://take.ms/8obHH


yes you are absolutely right!
So there is a problem.
@Sam, please check this!


Regarding the above, I've already applied the same fix in Paul site. His issue is now resolved.

Hope this help and have a nice day
Sam
·
Wednesday, 26 April 2017 19:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Paul,

yes you are absolutely right!
So there is a problem.
@Sam, please check this!

By the way, Paul i can't find your ticket!


Hi Heiko - My ticket was set as private as it contained details of my testing site. Sam has applied a fix to this site and I'm now waiting on release 5.1.6 to test this before rolling out to my live site.

Cheers
Paul
·
Wednesday, 26 April 2017 19:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

Currently EasyBlog need to store the absolute path for the use in composer thus if you saving your blog content on your localhost, I am afraid this will not work.

In this case, i don't save any content on my computer. I've installed a backup from live site (made with Akeeba) on a test server in the net.
Joomla and every 3rd party component work fine, except easyblog images in a blog post. Cover images of blog posts are not affected, they work correct!
I prefer original size, because it has better image quality. On my site is original size the same as large size.
Please reactivate this option!

Thanks for your input regarding this matter. I will discuss with the team and see if we can have better solution to address this matter.

Thank you very much!
yes you are absolutely right!
So there is a problem.
@Sam, please check this!

Regarding the above, I've already applied the same fix in Paul site. His issue is now resolved.

Which fix? Maybe this fix is in V5.1.6?

Regards
Heiko
·
Wednesday, 26 April 2017 19:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

it's me again …

That´s ok, but when you click on the "back" button, the window/tab will not close.
Instead, you will will have a second backend window … That is not ideal.

Regarding the above, I am sorry for the confusion. I just tested again and it will not open a new browser tab. The composer will load on your current browser tab. Please see http://take.ms/8obHH

That will only work if you create a new blog post. But if you want to edit an existing post, then a new window/tab is open for composer! (V5.1.5)
·
Wednesday, 26 April 2017 20:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Heiko,

That will only work if you create a new blog post. But if you want to edit an existing post, then a new window/tab is open for composer! (V5.1.5)


Regarding the above, I just tested in your test site ( with EasyBlog 5.1.5 installed ) and when i click on the edit link, it did not open a new browser window. Am i missing something here? Please see http://take.ms/Ecpj8

I tested both frontend and backend. Can you capture a screen and show me which edit link you actually link to have a new window opened?

Please advise.
Sam
·
Thursday, 27 April 2017 14:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

obviously it happens only when i click on a blog link in dashboard.
·
Thursday, 27 April 2017 14:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Heiko,

I actually tested the edit link from frontend dashboard too. Please see http://take.ms/M3Jr9

And backend posts page too. Please see http://take.ms/tk8Vh

Can you try clearing your web browser cache and see if that fix your issue?

Please advise.
Sam
·
Thursday, 27 April 2017 16:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

you have to go to backend dashboard!
Just click in backend -> components -> Easyblog (nothing more!)
And then(!) just click the first visible blog article.
Pleas see my my attached screenshot!

Then (and only then) the composer appears in new window/tab ...
·
Thursday, 27 April 2017 16:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Heiko,

Thanks for the clarification. We've fixed the issue internally and the fix will be added into next release of EasyBlog
Thanks again for reporting this bug.

Have a nice day
Sam
·
Thursday, 27 April 2017 19:59
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome!
·
Thursday, 27 April 2017 20:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating, will lock this thread to avoid confusions since this is getting pretty long already. If you have any other issues, please do start a new thread.
·
Thursday, 27 April 2017 23:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post