mirror of
https://github.com/e107inc/e107.git
synced 2025-07-15 12:06:19 +02:00
Image caption - Link start slideshow
This commit is contained in:
@ -32,7 +32,7 @@ class gallery_shortcodes extends e_shortcode
|
|||||||
function sc_gallery_caption($parm='')
|
function sc_gallery_caption($parm='')
|
||||||
{
|
{
|
||||||
$tp = e107::getParser();
|
$tp = e107::getParser();
|
||||||
$text = "<a class='gallery-caption' title='".$tp->toAttribute($this->var['media_caption'])."' href='".$tp->thumbUrl($this->var['media_url'], $this->attFull)."' rel='lightbox.Gallery2' >";
|
$text = "<a class='gallery-caption' title='".$tp->toAttribute($this->var['media_caption'])."' href='".$tp->thumbUrl($this->var['media_url'], $this->attFull)."' rel='prettyPhoto[slide]' >"; // Erase rel"lightbox.Gallery2" - Write "prettyPhoto[slide]"
|
||||||
$text .= $this->var['media_caption'];
|
$text .= $this->var['media_caption'];
|
||||||
$text .= "</a>";
|
$text .= "</a>";
|
||||||
return $text;
|
return $text;
|
||||||
|
Reference in New Issue
Block a user