Slideshow Module?

59 views
Skip to first unread message

Harold Hallikainen

unread,
Sep 12, 2024, 1:36:15 AMSep 12
to Gallery 3 Users
I'm running Gallery 3.1.3 . Some documentation says the slideshow Module
is installed by default and merely needs to be activated, but it does not
show up on the modules page.

I downloaded the slideshow module from the Gallery 3 GitHub page. Now it
shows up on the module page. I enabled it, and View Slideshow appears
above Album Info, but no slideshow appears.

What am I doing wrong?

THANKS!

Harold




--
Not sent from an iPhone.

Adrian London

unread,
Sep 12, 2024, 9:54:56 AMSep 12
to gallery...@googlegroups.com
The slideshow module doesn’t work.

If you’re handy with PHP or similar, and don’t mind getting your hands dirty, there’s a workaround.  However, it’s only for single-person use (it could be modified to work I suppose) and requires an understanding of how G3 is put together.


— 
Also not sent from an iPhone

J.R.

unread,
Sep 12, 2024, 5:28:47 PMSep 12
to gallery...@googlegroups.com
As Adrian mentioned, you need to do some hacking to that incredibly old slideshow module you got from the old module site to make it work with the current version of Gallery 3. The old module actually stopped working well over 12 years ago with the last official release of Gallery3 (version 3.0.9) and was always kind of flakey even when it did "work". I'm sure there must be more modern, html5-type slideshow modules available out there that can be applied to Gallery as some kind of plug-in. Is anyone out there using an alternative slideshow that works with G3? I have no use for a slideshow with my own Gallery installations so I'm afraid there's not much more help I can provide on this issue.

-- J.R.

Harold Hallikainen

unread,
Sep 12, 2024, 5:34:42 PMSep 12
to gallery...@googlegroups.com
Thanks for the info! I did see another slideshow module that used flash,
but don't want that. I'll do without a slideshow for now.
Message has been deleted

David Jackie Armstrong

unread,
Nov 23, 2024, 12:55:09 PMNov 23
to Gallery 3 Users
I checked the local clone of the Gallery 2 version of thejigasaurus.com which has a working slideshow module based on the javascript module lytebox.js:


In the gallery 2 local clone version of thejigasaurus.com it is implemented by including the lytebox styling and script:

<link rel="stylesheet" type="text/css" href="../../../../modules/lytebox/lytebox.css"/>

<script type="text/javascript" src="file:///C:/../../../../modules/lytebox/lytebox.js"></script>  

and in albums as:

<a href="Puzzle%2b_Custom_.JPG.html">

<img src="../../../../d/27561/Puzzle%20_Custom_.JPG" width="300" height="212" id="IFid2" class="ImageFrame_solid giThumbnail" alt="Puzzle (Custom)"/></a>


<p></p><a href="../../../../d/27560/Puzzle%20_Custom_.JPG" rel="lyteshow" >Slideshow</a>

etc. for the other images in the album.

Has anyone tried to incorporate this module in a Gallery 3 site?

Regards,

David Armstrong.

David and Jackie Armstrong

unread,
Nov 28, 2024, 8:31:23 AMNov 28
to gallery...@googlegroups.com
I have implemented the lytebox slideshow on a Gallery 3 site to demonstrate how it can be done via a link above the thumbnails in the widewind theme. I have used v3.22 of lytebox which can be found under at:


I've not tried the latest release of lytebox v4.0.a at:


Regards,

David Armstrong.


A. Lytebox javascript and style files (with css image files) stored in /lib

B. Changes in bold to /themes/widewind/views/page.html.php to include lytebox javascript and style files in the combined js and css files.

   <?= $theme->head() ?>

    <?php /* Theme specific CSS/JS goes last so that it can override module CSS/JS */ ?>
    <?= $theme->script("ui.init.js") ?>
    <?= $theme->css("yui/reset-fonts-grids.css") ?>
    <?= $theme->css("superfish/css/superfish.css") ?>
    <?= $theme->css("themeroller/ui.base.css") ?>
    <?= $theme->css("screen.css") ?>
    <?= $theme->css("lytebox/css/lytebox.css") ?>
    <?= $theme->script("lytebox/js/lytebox.js") ?>

    <?php if (locales::is_rtl()): ?>
    <?= $theme->css("screen-rtl.css") ?>
    <?php endif; ?>
    <!--[if lte IE 8]>
    <link rel="stylesheet" type="text/css" href="<?= $theme->url("css/fix-ie.css") ?>"
          media="screen,print,projection" />
    <![endif]-->

    <!-- LOOKING FOR YOUR CSS? It's all been combined into the link below -->
    <?= $theme->get_combined("css") ?>

    <!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below -->
    <?= $theme->get_combined("script") ?>

C. Changes in bold to /themes/widewind/views/album.html.php to include link to lytebox above the thumbnail for photos. The relative_path link points to the image filenames as required by lytebox, and is added to the full path for the resizes folder as these are a suitable size for lytebox.

<ul id="g-album-grid" class="ui-helper-clearfix">
<?php if (count($children)): ?>
  <?php foreach ($children as $i => $child): ?>
  <?php if($child->tag_album != "tag") { ?>
    <?php if ($child->is_album()): ?>
      <?php $item_class = "g-album"; ?>
    <?php elseif ($child->is_movie()): ?>
      <?php $item_class = "g-movie"; ?>
    <?php else: ?>
      <?php $item_class = "g-photo"; ?>
    <?php endif ?>
  <li id="g-item-id-<?= $child->id ?>" class="g-item <?= $item_class ?>">
    <?= $theme->thumb_top($child) ?>
   
      <?php $address = $child->relative_path(); ?>
      <?php $pathstart ="https://thejigasaurus.com/var/resizes/"; ?>
      <?php $address = $pathstart.$address; ?>
      <?php if ($child->is_photo()) { ?>
      <?php $label = "Slideshow"; ?>
      <a href="<?= $address ?>" rel="lyteshow" ><?= $label ?></a>
      <?php } ?>


    <a href="<?= $child->url() ?>">
      <?php if ($child->has_thumb()): ?>
      <?= $child->thumb_img(array("class" => "g-thumbnail")) ?>
      <?php endif ?>
    </a>
    <?= $theme->thumb_bottom($child) ?>
    <?= $theme->context_menu($child, "#g-item-id-{$child->id} .g-thumbnail") ?>
    <h2><span class="<?= $item_class ?>"></span>
      <a href="<?= $child->url() ?>"><?= nl2br($child->title) ?></a></h2>

    <ul class="g-metadata">
      <?= $theme->thumb_info($child) ?>
    </ul>
  </li>
  <?php } ?>
  <?php endforeach ?>

--
WHEN USING AN EMAIL PROGRAM to reply to this message, click REPLY TO LIST or REPLY TO ALL so your reply goes out to everyone in the group. If you click REPLY or REPLY TO SENDER Google will *only* send your reply to the original author (not recommended).
 
To post a NEW MESSAGE to the group, send an new email to:
gallery...@googlegroups.com
 
To view or sign in to this group on the web, use this URL:
https://groups.google.com/forum/#!forum/gallery-3-users
---
You received this message because you are subscribed to the Google Groups "Gallery 3 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gallery-3-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gallery-3-users/1fa79f3c-442c-47fd-8d04-4ec7dd483c2en%40googlegroups.com.

J.R.

unread,
Dec 2, 2024, 11:22:45 AMDec 2
to gallery...@googlegroups.com
David,

Thanks so much for sending this information to the group. I don't use a slideshow on my gallery installations, but I know a lot of people have been trying to get an implementation of one that works with the latest version of G3.

-- J.R.
Reply all
Reply to author
Forward
0 new messages