Member
Member
ctdlg   2019-03-27, 07:49
#1

Hello,

Slide show function is really useful, but it stops when a non picture file is found.
I mix still pictures, videos, txt files in my albums.
Slide show stops on the 1st video or txt file.

Using only still pictures, slide show loops.

Where can I add a condition to skip txt and video files ? slide show could loop in those cases.

This is the last problem I have with Zenphoto.
I started using Zenphoto 1 year ago, have learned a lot. Often made changes !
I've checked again everything under Linux, MacOs and Windows, Firefox, Chrome, Safari and Edge.

Zenphoto is really a great CMS.
Ready to spend more time on content !

Administrator
Administrator
acrylian   2019-03-27, 10:30
#2

Hm, I thought it should only cover image file types and exclude all other file types as that is problematic. We'll take a look. Thanks for the note.

Administrator
Administrator
acrylian   2019-04-02, 18:00
#3

The support build slideshow2 plugin has a fix for this now and should ignore non image file types.

Member
Member
ctdlg   2019-04-04, 12:50
#4

@acrylian
With today's support build slideshow2 plugin, no picture is displayed.
No menu (next, previous, stop ...)
I downloaded the build from your home page website.

I replaced slideshow2.php file in my /zp-core/zp-extensions folder.
I also replaced the slideshow2 folder in my /zp-core/zp-extensions folder.
And I emptied the cache_html folder

Restoring all previous files / folder solves the problem : pictures are displayed as long as they correspond to pictures (jpg files)

Same problem with your Garland Theme (I'm using a modified version of the basic theme.)

I've tested your files under my localhost linux machine, not on my real website.

I cannot find any new setting in the slideshow2 extension admin page.

diff slideshow2.php oldslideshow2.php gives me too many results, so I cannot understand what I'm doing wrong.

Administrator
Administrator
acrylian   2019-04-04, 13:11
#5

Thanks, apparently some typo sneaked in… Try again.

But generally test the whole support build as official plugins used with older release are not guaranteed to work at all. In this case it should work with 1.5.1 I think.

Member
Member
ctdlg   2019-04-05, 09:01
#6

This version is much better than the one found in 1.5.1.

It works, but there is still a little bug : slide show runs until it finds, saying a video; it displays the thumbnail of the video, and then loops with 1st image (this last step is correct)

It should not display any video or txt thumbnail.

I have just replaced the slideshow2.php file, and I'm using Zenphoto 1.5.1

Administrator
Administrator
acrylian   2019-04-05, 09:32
#7

I will take another look. Actually it should remove all non image slides before actually showing anything.

Administrator
Administrator
acrylian   2019-04-05, 14:04
#8

I fear I cannot reproduce this. Seems to work in all themes using the cycle and colorbox mode.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.