public function getReload($catidSlug, $idSlug)
{
$app = Factory::getApplication();
$params = $app->getParams();
$detailWindow = $params->get('detail_window', 0);
if ($detailWindow == 7) {
$tCom = '';
} else {
$tCom = '&tmpl=component';
}
$i = explode(':', $idSlug);
$id = $i[0];
$alias = $i[1];
$j = explode(':', $catidSlug);
$catid = $j[0];
$catalias = $j[1];
$href = Route::_(PhocaGalleryRoute::getImageRoute($id, $catid, $alias, $catalias) . $tCom);
$reload = '<div class="pg-imgbgd"><a href="' . $href . '" onclick="%onclickreload%" title="' . Text::_('COM_PHOCAGALLERY_REFRESH') . '" >' . PhocaGalleryRenderFront::renderIcon('reload', 'media/com_phocagallery/images/icon-reload.png', Text::_('COM_PHOCAGALLERY_REFRESH')) . '</a></div>';
return $reload;
}