By Butterfly Internet on Wednesday, 02 July 2014
Posted in Technical Issues
Replies 3
Likes 0
Views 498
Votes 0
Hi, I have EasyBlog v. 3.9.16263 and am having issues with the EasyBlog Latest Blogs Module v. 3.9.1.
I am trying to change the image size dimensions for the blog image that is rendered in the latest blogs module.
I have updated the image.ini params for the 'module' image type, it's now set to 300 x 165 and Resize to fill.
After this i did 'Clean Images' and re-uploaded the blog image. This did not fix it.
The image size did not change - inspecting it still shows 260 x 210 (Natural: 250 x 200).
Where are these dimensions coming from?
I even tried adding another Blog Image type but i can't get load the new type's source. i.e. by changing to getSource('newmodule') on line 39 in modules/mod_latestblogs/tmpl/default_item.php
Any help would be much appreciated.
Cheers, David
Hi Thanks for your reply.

I have solved the problem, however i think i have found a bug of sorts.

I had not realised that i had a template override for the image.ini file. As such the settings in the override file (/templates/mytemplate/html/com_easyblog/image.ini) were being used, and not those in the component image.ini file (/components/com_easyblog/themes/default/image.ini).
I have since removed the override image.ini file and now the correct settings are being applied.

It was not clear however that the override settings were being applied, as the backend blog image size settings (in backend > Easyblog > theme > select your theme > blog image tab) was displaying the component image.ini settings. That's why I was confused with the different settings being applied to the images.

I think you need to fix this issue - and do one of the following when a image.ini template override exists -
- ideally show the settings from the override file on the backend blog image sizes page, and allow the user to edit these override settings.
- or at least show a warning on the backend blog image sizes page that states the settings displayed there are not accurate, due to the override.

Hopefully this information helps someone else!

Thanks, David
·
Thursday, 03 July 2014 11:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Butterfly,

Sorry for late reply to this,
Actually we have provided the setting from your backend > Easyblog > theme > select your theme > blog image tab > set the width and height from your module. After you set it > save > clean cache. and see how it goes.
*Try remove all your hack from your easyblog file and image.ini file.
·
Wednesday, 02 July 2014 18:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Butterfly ,

Thanks for getting back to us and thanks for your sharing and suggestion, glad to heard your issues resolved.
·
Thursday, 03 July 2014 19:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post