function _getThumbnailPaid($sUrl, $aOptions, $sAttribAlt, $sAttribClass, $sAttribStyle) { $sImageUrl = _getThumbnail($sUrl, $aOptions); // if WAY OVER the limits (i.e. request is ignored by STW), grab an "Account Problem" image and store it as NO_RESPONSE_IMAGE if ($sImageUrl == 'no_response') { $sImageUrl = _getNoResponseImage($sUrl, $aOptions); } // Add attributes if set $sTags = false; if ($sAttribStyle) { $sTags .= ' style="' . bx_html_attribute($sAttribStyle) . '"'; } if ($sAttribAlt) { $sTags .= ' alt="' . bx_html_attribute($sAttribAlt) . '"'; } if ($sAttribClass) { $sTags .= ' class="' . bx_html_attribute($sAttribClass) . '"'; } return $sImageUrl ? '<img src="' . bx_html_attribute($sImageUrl) . '"' . $sTags . '/>' : false; }
function kfm_getThumbnail($fileid, $width, $height) { include_once KFM_BASE_PATH . 'includes/images.php'; return _getThumbnail($fileid, $width, $height); }