1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

Fix for Media-Manager icon selector image size.

This commit is contained in:
Cameron
2017-01-29 15:29:50 -08:00
parent 8c507c964d
commit 02e3657f70
2 changed files with 2 additions and 2 deletions

View File

@@ -790,7 +790,7 @@ class e_media
$data_bb = ($bbcode) ? "img" : "";
$img_url = ($cat !='_icon') ? e107::getParser()->thumbUrl($im['media_url'], $thumbAtt) : $media_path;
$img_url = (!empty($cat)) ? e107::getParser()->thumbUrl($im['media_url'], $thumbAtt) : $media_path;
$text .= "<a data-toggle='context' class='thumbnail {$class} e-tip' data-id='{$im['media_id']}' data-width='{$w}' data-height='{$h}' data-src='{$media_path}' data-bbcode='{$data_bb}' data-target='{$tagid}' data-path='{$im['media_url']}' data-preview='{$realPath}' data-alt=\"".$media_alt."\" title=\"".$diz."\" style='float:left' href='#' onclick=\"{$onclicki}\" >";
$text .= "<img class='image-rounded' src='".$img_url."' alt=\"".$im['media_title']."\" title=\"{$diz}\" />";

View File

@@ -116,7 +116,7 @@ class theme_shortcodes extends e_shortcode
}
//@todo Replace with social template.
//@todo Replace with social template.
function sc_xurl_icons()
{
$social = array(