#445 – Popup for Slideshow Layout

Status: Closed - Category: Showtime Image Gallery
 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
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="/<?php echo $image->main; ?>" title="<?php echo htmlspecialchars($image->title, ENT_QUOTES, 'UTF-8'); ?>" itemprop="contentUrl">
				<img src="/<?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
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

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 .

Note: Our support team is currently on vacation, so please anticipate slightly longer response times. Thank you for your understanding!

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