UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
It is currently a public holiday for us from where we are at.

There may be a delay in our responses but rest assured that we will be back at full speed when we are back to the office.
  Support is offline

EasyBlog issue with cache image in listing posts

Jesus Alejandro Carmona Quintana · ·
5:55 AM Thursday, 03 September 2015
None
Hi there, I'm writing as I've encounter an issue with easyblog, you see if you upload a cover picture with the some name let say e.g. untitled-1 for one blog and then upload another different image for other post but with the same name "untitled-1", in the listing page of the blog it will display the first untitled-1 image that found this is happening in because you have a cache implemented for the images

/adminisitrator/components/com_easyblog/includes/post/post.php in line 4493
$cache[$index] = $image->getSource($size, false, $protocol);


which in terms leads to
/administrator/components/com_easyblog/includes/blogimage/blogimage.php in line 115
if (!isset($cache[$index]))


which return the path to the first image with the duplicated name, I thought I could use a override of the class post.php with a system plugin but it turns out that you require the clases by static method call eg in /administrator/components/com_easyblog_includes/easyblog.php line 4258
public static function post($uid = null, $revisionId = null)
{
require_once(dirname(__FILE__) . '/post/post.php');

$post = new EasyBlogPost($uid, $revisionId);

return $post;
}


so the override doesn't work I could do an override of easyblog.php but then I will have to chance every require_once statement. So it would be nice if you could provide a way to have turned off the cache for the image or some other solution for the duplicated image names as you now the users really doesn't put much attencion to the name of the images they are uploading. Please I'll looking forward for an update or some fix to this issue. I appreciate your attention to this matter.
The replies under this section are restricted to logged in users or users with an active subscription with us