#373 Posted in ‘Showtime Image Gallery’

Latest post by Lefteris Kavadas on Wednesday, 06 March 2019 17:35 EET

Lorenz Schwarz
Hi there!
I have two questions regarding the module:

- In carousel mode: Where can I increase the size of the thumbnails used?
- In slideshow mode: Is it possible to open the full lightbox when clicking on an image?

Thanks so much for a grad extension !

Kindly,
Lorenz

Lefteris Kavadas
Hi,

Regarding your questions:

The module is just a way to display a gallery. The dimensions of the thumbnails can be changed directly by editing the gallery. If you want you can also set default the values to be used by new galleries in the global configuration of the component. Finally if you want to change the thumbnails dimensions for multiple galleries at once, you can use the "Generate Images" button in Showtime administrator area.

Yes, it can be done but requires a bit of markup. First check the documentation to find out how you can create a layout override. Then create an override for the slideshow layout and apply the following changes:

1. In line 18 add the following attribute to the div:
data-showtime-renderer="<?php echo $gallery->renderer; ?>"


2. Replace line 21 with the following 3 lines of code:
			<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. Finally add the following code at the end of the file:
<?php echo $gallery->snippet; ?>


Note that the slideshow layout is designed to work without lightbox functionality. But applying the changes above it should make it work. If not please let me know.

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