mirror of
https://github.com/e107inc/e107.git
synced 2025-06-04 09:54:56 +02:00
Remove distortion from thumbnail image.
This commit is contained in:
parent
4f88719159
commit
c737e0c550
@ -94,7 +94,7 @@ class social_admin
|
||||
|
||||
<div class="well social-plugin" style="width:450px">
|
||||
<div class="media">
|
||||
<div class="media-left">'.$tp->toImage($data['news_thumbnail'][0], array('w'=>100, 'h'=>100, 'class'=>'media-object')).'</div>
|
||||
<div class="media-left">'.$tp->toImage($data['news_thumbnail'][0], array('w'=>100, 'h'=>100, 'crop'=>1, 'class'=>'media-object')).'</div>
|
||||
<div class="media-body">
|
||||
<h4 class="media-header">'.$tp->post_toHTML($data['news_title']).'</h4>
|
||||
<p><small>'.$tp->post_toHTML($data['news_meta_description'])."</small></p>".$this->share($shareData).'
|
||||
|
Loading…
x
Reference in New Issue
Block a user