#445 Posted in ‘Showtime Image Gallery’

Latest post by Lefteris Kavadas on Thursday, 08 August 2019 12:59 EEST

Steinlein Werbeagentur GmbH
 Hi, is there simple way to create a popup for the slideshow layout?
The configuration has no option for that. I am trying to do it via override, but the slideshow creates additional images in a div "slick-cloned". Instead of swiping through popup gallery with 4 images I get 9.

Any suggestions?

Thanks

Lefteris Kavadas
Hi,

I wouldn't recommend to do this since it will probably harm your mobile users experience. In case you need it here is what you need to add in the override:

1. At line 19 add the data-showtime-renderer property:
data-showtime-renderer="<?php echo $gallery->renderer; ?>"


2. Replace line 22 with following markup:
			<a data-showtime-width="<?php echo $image->width; ?>" data-showtime-height="<?php echo $image->height; ?>" data-showtime-caption="<?php echo htmlspecialchars($image->caption, ENT_QUOTES, 'UTF-8'); ?>" href="https://www.firecoders.com/<?php echo $image->main; ?>" title="<?php echo htmlspecialchars($image->title, ENT_QUOTES, 'UTF-8'); ?>" itemprop="contentUrl">
				<img src="https://www.firecoders.com/<?php echo $image->main; ?>" alt="<?php echo htmlspecialchars($image->alt, ENT_QUOTES, 'UTF-8'); ?>" />
			</a>


3. Add the script snippet after the closing script tag:
<?php echo $gallery->snippet; ?>


Please let me know if that works for you. Note that this has not been tested so you might have to try different renderers until you make it work.

Regards

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review