By Roberto Giari on Monday, 29 September 2014
Posted in Technical Issues
Likes 0
Views 728
Votes 0
Hi I'm using EasyBlog Simplistic template (a copy of... a little bit customized) and I need to post blog image on top of text.
Where I can found right parameter?

Attach this a sample template

thanks, Roberto
Hello Roberto,

You need to change the size of the blog image in EasyBlog setting, Please go to Backend > EasyBlog > Themes > (theme) > Blog Image. Change the frontpage size image to much bigger size, then clean image. Also please clear your site cache if you have. I hope this may resolve your issue.

Hope this will work.
Thanks.
·
Tuesday, 30 September 2014 16:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Roberto,

I believe all blog image are posted above the content. I'm not sure what do you trying to achieve here. However, you can use this file a guide: \components\com_easyblog\themes\simplistic\blog.item.php. If this is not the issue, perhaps you can explain more so that we can understand you better?

Hope this will help.
Thanks.
·
Monday, 29 September 2014 16:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi. In the simplistic template the blog image are posted "float-l" respect the item text intro.
I want modify this position at the top of item text intro.

in the blog.item.php file I found this:
<!-- Blog Image -->
<?php if( $row->getImage() && $this->getParam( 'blogimage_frontpage')){ ?>
<a href="<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id='.$row->id); ?>" title="<?php echo $this->escape( $row->title );?>" class="blog-image float-l mrm mbm">
<img src="<?php echo $row->getImage()->getSource( 'frontpage' );?>" />
</a>
<?php } ?>


I think I should change this parameter:
class="blog-image float-l mrm mbm


I would like to know from you what is the correct way to modify because the image is above the text as in the image attached in my first request.

Thanks, Roberto
·
Monday, 29 September 2014 22:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Roberto,

Here I attached to you a file, can you download it and put it in your site: \components\com_easyblog\themes\simplistic\blog.item.php
Also, here I provide you a css override, please put it in your current Joomla template.

#ezblog-body .blog-text img, #ezblog-body .blog-content img{
display:block !important;
margin:0 auto !important;
border:1px solid #ccc;
padding:3px
}

Please give it a try and see if this suit your need. Please be advice, this is a customization and it will be overriden by the latest file if you update EasyBlog. Please backup this file before updating this component.

Hope this will help.
Thanks.
·
Monday, 29 September 2014 23:16
·
0 Likes
·
0 Votes
·
0 Comments
·
I am sorry, here is the attached file.
·
Monday, 29 September 2014 23:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi thanks for file, but...
Ok for image position, but dimension is not right. I need to have image sized for entire width of post.
If you see in attached image the image is small.

I must modify some other parameter?
thanks, Rob
·
Tuesday, 30 September 2014 16:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect. problem solved. you can close this issue.

Thanks, for help!
Rob
·
Tuesday, 30 September 2014 19:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Roberto, glad that your issues are resolved now
·
Wednesday, 01 October 2014 02:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post