HTML5 slideshow plugin - Page 5 HTML5 slideshow plugin - Page 5
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

HTML5 slideshow plugin

Started by ron4mac, February 14, 2013, 04:12:39 AM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

ron4mac

Updated version of HTML5 slideshow plugin:

Version 1.3.6 Release Notes:
----------------------------
Added option to start slideshow(s) from album list view
When allowed, users can configure their own slideshow options when viewing any slideshow
Made compatible with and aware of CPG 1.6 (CPG 1.6 ready)
Spanish language added ( thanks, nambroque )

Download from initial topic post.

jorys31

Internet Explorer 11 can not load images in the slideshow:
message:

COULD NOT LOAD IMAGE

Thank you for your help.
cordially
   




   
 


ron4mac

Quote from: jorys31 on May 21, 2016, 08:26:54 AM
Internet Explorer 11 can not load images in the slideshow:
message:
Thank you for your feedback.  I will investigate as soon as possible.

ron4mac

Quote from: jorys31 on May 21, 2016, 08:26:54 AM
Internet Explorer 11 can not load images in the slideshow:

Corrected issue with IE11+ detection.
Install v1.3.7 found in the initial post of this topic.

scouterjohn

Enhancement request - unless this is already possible and I missed it.

In the category view and the album view the slideshow button starts the slideshow at photo 1 - as it should. But if I am halfway through an album in normal view and I click the slideshow button it still starts with photo 1 and I'd prefer if it started with the current photo. Is this possible?

Thanks,
John

ron4mac

Quote from: scouterjohn on June 01, 2016, 10:39:13 PM
In the category view and the album view the slideshow button starts the slideshow at photo 1 - as it should. But if I am halfway through an album in normal view and I click the slideshow button it still starts with photo 1 and I'd prefer if it started with the current photo. Is this possible?

No, you didn't miss it .. it doesn't behave that way.  I'll look into the possibility as soon as I can.  Thanks for the suggestion.

ron4mac

Quote from: scouterjohn on June 01, 2016, 10:39:13 PM
I'd prefer if it started with the current photo.
And if you manually stop/escape out of the slideshow do you need to have the displayed image coincide with the last one displayed in the slideshow?  Makes a difference how complicated the changes would be.

scouterjohn

Quote from: ron4mac on June 01, 2016, 11:32:57 PM
And if you manually stop/escape out of the slideshow do you need to have the displayed image coincide with the last one displayed in the slideshow? 

Good question.

Ideally yes, it should display the last image that was displayed in the slideshow before you escaped.

Alternatively it could display the image that was displayed when the slideshow was invoked, i.e. returning to where it was before the slideshow.

Or you could parameterize the behaviour and give us a choice  :)

John


railgun

great work ron4mac

i have one question, is it possible to at a simple link at the top? (and whre to add the code)

Raseon: in germany there must be on all site a link to a page that show the owner of the page

ron4mac

#90
Quote from: railgun on July 18, 2016, 08:09:34 PM
i have one question, is it possible to at a simple link at the top? (and whre to add the code)

Make an appropriate change to fullSlide.php.

Around line 109:
<div id="controls">
<div class="albnam"><p><span id="albNam"><?=$album_name?>&nbsp;&nbsp;::&nbsp;&nbsp;</span><?=sprintf($lang_plugin_html5slideshow['of_format'],'<span id="slidnum"></span>',count($filelist))?></p></div>
<?php if ($H5ss_cfg['uA'] && USER_ID>0): ?>

Add one line to create a simple link .. something like this:
<div id="controls">
<div class="albnam"><p><span id="albNam"><?=$album_name?>&nbsp;&nbsp;::&nbsp;&nbsp;</span><?=sprintf($lang_plugin_html5slideshow['of_format'],'<span id="slidnum"></span>',count($filelist))?></p></div>
<a href="owner.html" style="float:right">?</a>
<?php if ($H5ss_cfg['uA'] && USER_ID>0): ?>

railgun

thank you for the code snipet :) it work perfectly

wilk

#92
PL translation update for 1.3.7.

There seems to be something broken in 1.3.7. The config page shows whole content as a separate page without CPG template and is unusable. OK, reverting to 1.3.5 until fixed.

CPG: 1.5.40

BTW. Some of your php files are missing ,,?>" tags (as well as in html5upload plugin), but that does not solve problem.

Edit:
Meh, did not gave up. And I'm just speechless...

Changing every (line 15, 36, 44, 106, 330 in config.php) occurrence of

if (defined('PLUGINMGR_PHP')) {

to

if (!defined('PLUGINMGR_PHP')) {


(and vice versa) fixed the problem...
PM me for Polish translations (new/update)

ron4mac

#93
Quote from: wilk on August 02, 2016, 06:35:51 PM
There seems to be something broken in 1.3.7. The config page shows whole content as a separate page without CPG template and is unusable. OK, reverting to 1.3.5 until fixed.
I am unable to experience the same condition. Works for me as expected in 1.5.40, 1.5.42 and 1.6.01.
[edit:] Investigating further .. I looked for what might be messing with the state of PLUGINMGR_PHP and discovered that the onlinestats plugin is causing the problem by (perhaps unnecessarily) changing the state of PLUGINMGR_PHP.
Thanks for discovering and pointing out the issue.

QuoteBTW. Some of your php files are missing ,,?>" tags (as well as in html5upload plugin), but that does not solve problem.
Best-practice is to NOT include closing PHP tags unless absolutely necessary.


Thank you for the updated translation.

ron4mac

Quote from: ron4mac on August 03, 2016, 03:57:20 PM
Investigating further .. I looked for what might be messing with the state of PLUGINMGR_PHP and discovered that the onlinestats plugin is causing the problem by (perhaps unnecessarily) changing the state of PLUGINMGR_PHP.

Made modifications in v1.3.8 (initial post) to get around the conflict.