forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: Joe Carver on November 20, 2009, 04:09:09 am

Title: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 20, 2009, 04:09:09 am
iScroll v2.1 for Coppermine 1.5.x
This plugin is based upon the good work of  rphMedia (http://forum.coppermine-gallery.net/index.php?action=profile;u=9702) and his excellent mod. Image Scroller - based on iTunes [link to Intermediate]. (http://forum.coppermine-gallery.net/index.php/topic,48822.0.html) 

Adapted to cpg 1.5xx from my cpg1.4.xx plugin version (http://forum.coppermine-gallery.net/index.php/topic,61385.0.html)  It will add a moving slideshow of thumbnails to the main and album list page . The thumbs "flip and turn"  for a 3D effect.

   
Example/Demo Here (Main Site)  (http://josephcarver.com/index.php) 
And
Here (My 1st CPG Gallery)  (http://gallery.josephcarver.com/) 
And
Here (Artists Gallery)  (http://www.i-imagine.net/artists/index.php) 


Features

        ====================================================

   To install:
   
   1) Download the .zip. Login, and install with Plugin Manager. Check your home page for the new display.
   

   To uninstall:

   1) Use Plugin Manager to uninstall

        ====================================================

Credits for code snips and inspiration go to: rphMedia for creating the mod. and the .swf files, the Dev. Team for SEF URLS code snips and Timos Welt for Slider code snips. The list continues with Nibbler for Online Stats snips, Joachim Müller and Αndré for directions and suggestions.

        ====================================================

Please have fun with it. All critiques and suggestions are welcome.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joachim Müller on November 20, 2009, 09:35:13 am
Hello Joe,

good to see the iscroller available for cpg1.5.x as well. Thanks for your continued contributions. I have added your plugin to our download section at sourceforge net: https://sourceforge.net/projects/coppermine/files/cpg1.5x_plugin_iscroll_v1.0.zip/download

Here are some suggestions for possible future versions:

The same question we have asked Timo goes to you as well: do you agree to have your plugin added to the SVN repository? Is that OK license-wise as well?

I'm looking forward to your continued contributions

Joachim

P.S. I wasn't able to make the plugin actually work as expected, but that may be as well an individual issue on my side. I can't post a link to my tesbed as it's on localhost, but here is the relevant part of the output:
Code: [Select]
<div id="eye" align="center">
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '800',
'height', '250',
'src', 'flow_link',
'FlashVars', 'xmlPath=http://localhost/~gaugau/cpg15x/flow_link.php',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', "transparent",
'devicefont', 'false',
'id', 'flow_link',
'bgcolor', '',
'name', 'flow_link',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'flow_link',
'salign', ''
); //end AC code
}
</script><embed src="flow_link.swf" flashvars="xmlPath=http://localhost/~gaugau/cpg15x/flow_link.php" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="transparent" devicefont="false" bgcolor="" name="flow_link" menu="true" allowfullscreen="false" allowscriptaccess="sameDomain" salign="" type="application/x-shockwave-flash" height="250" width="800" align="middle">
</div>
The section where the scroller should show just is blank for me.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Αndré on November 20, 2009, 09:44:38 am
Plugin works on my testbed.

   5) Optional - To change the style/size of the thumbs you must replace file flow_link.swf. Within the
   iscroll folder there are two extra folders named with different thumb settings. To change, upload
   the newer flow_link.swf to your gallery root.
I suggest to add an option to the config screen.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 20, 2009, 02:12:22 pm
@ Joachim and Andre,

Thanks for the information. As a "one man test team" I always worry that I will overlook the obvious flaws in my output.

To address a few of your very valid points.


It might not work on a stand-alone (isolated) test bed due to the 'sameDomain' restrictions in codebase.php, function iscroller_main . Possibly it would work with that being changed to 'always', however that value would be unacceptable for a  public/production Gallery.

Thanks Again.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 21, 2009, 06:24:33 pm
Release of Version 0.3

With the suggestions from above, a little bit more and with the sound of one hand clapping.....

Version 0.3 Changelog:

To Do:

Readme file now accessible through plugin manager, includes instructions for creating crossdomain.xml file.

Suggestions - directions - corrections are requested and welcomed.

Enjoy it!
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Timos-Welt on November 21, 2009, 06:39:11 pm
Good work, I love the optical gimmick!

A few things:
1) Combining your plugin with my slider plugin, both only work if iScroll is above slider in the plugin list on plugin manager page. We should together try to fix that.
2) The script code for the page head should only be inserted on album list page. You could use something like this:
Code: [Select]
// only insert stuff if we're on album list page
 if (defined('INDEX_PHP') && !defined('DISPLAYIMAGE_PHP') && !defined('THUMBNAILS_PHP'))
 {
  ...
 }
3) Config page: Select SWF for thumbnails (Show 5 or Show 17) isn't saved correctly.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 21, 2009, 07:20:12 pm
Thanks, but I cannot take more than 35% credit because the effects come from the .swf's created by rphMedia I am only the clerk, moving the nice display to the front of the store....

To address the last point first, you might try a cache clean or refresh of page for the saving/seeing the difference between 17 and 5 thumbs. I was using Home Page then Album list (back and forth) here because even Firefox was "sticky" with the the older settings. That function also does depend on write access to the root, maybe that is why it doesn't work for you.

I haven't tried Slider with this yet, I would be almost afraid of making myself dizzy.... But yes, some users might want to try it. I am sure that you have a deeper understanding of how things are working, but my guess is that the plugins are:
1) Competing for the same space on the page
2) Competing for a place in the page <head>

It is with 2) that I have seen/experienced more issues with. In this case I am not sure. A few experiments/tests might help, but for the moment I want to take a short break.

Thanks for the code suggestion - I will try it and if it works I will include it in the next release. It also looks like something that can be used elsewhere.

Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: papukaija on November 21, 2009, 10:44:50 pm
That function also does depend on write access to the root, maybe that is why it doesn't work for you.
Plugins shouldn't need write access to Coppermine's root folder. Use either your plugin's folder or a mysql database.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 21, 2009, 11:33:58 pm
Write access to the Coppermine root is needed for installation and the (major) config. change, not for operation.

This plugin also relies on write access for installation: SEF_URLs plugin for cpg1.5.x (http://forum.coppermine-gallery.net/index.php/topic,42568.0.html)
 :)
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joachim Müller on November 22, 2009, 11:37:25 am
papukaija is totally right. It's completely unnecessary to write stuff to the root folder. We have lead this discussion already for Timo's excellent enlargeit plugin and he managed to change this around easily. To treat a file as if it was in the root of coppermine's folder, you can access it as index.php?file=plugin_name/file_name_without_extension
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 22, 2009, 01:10:19 pm
The change might not be as trivial as changing merely one or two lines.

However I will give it a try.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 22, 2009, 06:28:30 pm
One quick question for the devs. before committing/posting the newer (working) version.

Is it acceptable for the plugin's configuration to write to the plugin's directory from the plugin's sub-directory?

(ex. file: plugins/iiscroll/file_xxx.yyy      updated/changed with     file: plugins/iscroll/new_dir/file_xxx.yyy)

Done by action/selection on plugin config. page.

Thanks in advance
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Αndré on November 22, 2009, 08:41:17 pm
Why don't you save config values in the database?
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 22, 2009, 10:29:25 pm
It isn't a config value - there are two different .swf's that the plugin configuration can choose from.

There could be different ways around.........but the question still stands/
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 23, 2009, 02:38:47 am
Issue should be settled with this release - question about writing to a dir. is still open (for future reference only)

Release of Version 0.5

Version 0.5 Changelog:

New version now attached to first post.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joachim Müller on November 23, 2009, 09:18:21 am
Not sure why exactly you want to write something on file system level in the first place, but if you must, the folder your plugin resides in or any sub-folder is better than attempting to write to coppermine's root folder. But trust me: you don't have to write a file - let us know why you want to write a file (maybe post the code snippet) and we'll try to come up with a solution that doesn't rely on file writing at all.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 23, 2009, 04:15:38 pm
Thank you for the reply.

I will ask for help with the one remaining issue with this plugin that I can't seem to solve. (probably because the obvious is being overlooked.....)

The image set is generated by file flow_link.php. It makes output of .xml for the .swf player to use.

The bug/issue is that the query LIMIT value is made short by a value of 1. It will not respect the first selection, no matter what type of META album is used. (random, last up, most viewed, top-rated). Ask for 10, it will return 9 - ask for 22, it will return 21.

Here is a "lightweight" version of flow_link.php. The plugin variables have been removed. It will run by itself when located in the iscroll plugin folder. [  index.php?file=iscroll/test_flow_link   ]
Code: [Select]
<?php

// test file for iscroll plugin db LIMIT select

define('IN_COPPERMINE'true);
require_once(
'include/init.inc.php');

$path=$CONFIG['site_url'];

$xml '<?xml version="1.0"?>
<content>';

if ($FORBIDDEN_SET != "") $FORBIDDEN_SET = "AND $FORBIDDEN_SET";

$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename LIKE '%.jpg' AND filename not like 'youtube_%' $FORBIDDEN_SET  $META_ALBUM_SET ORDER BY pid DESC LIMIT 10");

$row = mysql_fetch_array($result);

while ($row = mysql_fetch_array($result))
{
$type = max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width'] ? 'thumb' : 'thumb';

$xml .= "<image>
<path><![CDATA[" . $path . get_pic_url($row, $type) . "]]></path>
<description><![CDATA[" . $row['title'] . "]]></description>
<data><![CDATA[" . $path . "displayimage.php?pos=-" . $row['pid'] . "]]></data>
</image>";
}
$xml .= '</content>';
echo $xml;
?>

The .xml output from this example is 9, not the LIMIT of 10.
 
Thanks in advance for time and replies.


Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 24, 2009, 01:04:36 am
Question answered - thanks anyway. There was a redundant/useless line in the file flow_link.php. Will be included in next release.

Code: [Select]
$row = mysql_fetch_array($result);
Was removed and now the count/LIMIT results are correct.
I plan to wait a while for the next release - just in case of any more issues reported.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 27, 2009, 04:16:28 pm
Release of Version 0.7

Changelog

Released with note and question for devs - this will conflict and interfere with the meta <head> changes in two plugins I have tested it with - EnlargeIt v1.3 and Slider v0.3. Each seems to "compete" for a final say in the <head> output.

With EnlargeIt the conflict resolves when iScroll is moved above EnlargeIt on the list in Plugin manager. (note that iScroll does not interact/pop-up the EnlargeIt display). The effect also is seen when EnlargeIt v1.3 and Slider v0.3 are used together, list position relates to function. I hope that I have explained this well enough, this effect is something I have experienced with 1.4xx plugins and is probably not new to the devs either  :) (I am stuck for a solution)

This version should be closer to 1.5.xx standards, any help and critiques are greatly appreciated.   

[edit to remove v0.7]
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Nibbler on November 27, 2009, 04:22:23 pm
You should append to the html instead of replacing it, ie.

Code: [Select]
return $html . $meta;
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 27, 2009, 04:32:21 pm
Thank you Nibbler - works just fine.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 27, 2009, 08:03:38 pm
Release of Version 0.8

Changelog

Critiques are greatly appreciated - thanks in advance
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 29, 2009, 05:20:44 pm
Release of Version 1.0

Changelog

Tested on SVN 6802. This should be a stable release, now out of the beta phase.[/list]
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on December 05, 2009, 12:30:39 pm
Release of Version 1.1

Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on January 25, 2010, 03:14:04 am
Release of version 1.2

Changelog

Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on March 09, 2010, 07:40:59 pm
Release of Version 2.0

Changelog
(only major changes listed here - details in package)

File header's info. contain only minimal rev. info.

Older versions should be uninstalled and deleted before installing new version.

will also attach to first post in thread
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: rafas on June 14, 2010, 12:55:56 pm
Hi Guys,

Having an issue with Iscroll that you may be able to help with :-

http://www.kgsmith.co.uk/coppmain/index.php

After a period of time the iscroll dissapears and does not work, and I have to uninstall it and re-install it again to get it working, maybe I am missing something somewhere but it has happend three times now and I cannot find any info about this problem on the boards.

Cheers

RafaS
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on June 14, 2010, 01:07:38 pm
That is a strange one! I am not too sure what you mean by disappear. Does the complete block "evaporate" from the page, moving everything up? Or does the block just show as empty?

After a period of time the iscroll dissapears and does not work
It seems to be working fine just now. Can you repost when it is actually not working? What is the "period of time"? Is it consistent?
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on June 15, 2010, 12:17:27 pm
Release of Version 2.1

Changelog

New version is now attached to first post in thread.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: rafas on June 15, 2010, 03:33:43 pm
That is a strange one! I am not too sure what you mean by disappear. Does the complete block "evaporate" from the page, moving everything up? Or does the block just show as empty?
It seems to be working fine just now. Can you repost when it is actually not working? What is the "period of time"? Is it consistent?

Hi Joe,

Trying to find out what time that is, as I look every few days and found that the block had just dissappeared and everything had moved up. I then checked with plug in manager and it said it was still installed but was not visible. I have also just installed js.min and will put the new 2.1 on today. I did make a change yesterday to show on homepage only as previously it was set to all areas.

Will watch out for it again.

Thanks for the reply

RafaS
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: olaechea on July 06, 2010, 06:06:07 pm
can i change background color?
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: frank61 on July 27, 2010, 03:29:54 pm
Hello,

Very nice plugin, I am looking for something like that to change my front page.
But I need to show the last uploads pictures from one category only (at front page only and all albums of cat=4).

Is It possible to configure this plugin in that way?

CPG gallery:
http://www.photoportal.sk

Category:
http://www.photoportal.sk/index.php?cat=4

Thanks,
Frank
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on July 28, 2010, 01:11:18 am
Is It possible to configure this plugin in that way?
Maybe it is, I will take a look for the next release. It might be a while - at the moment I have two other plugins open in the editor....
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: pulse4j on August 01, 2010, 11:43:59 pm
Hi, I like the first poster underneath the original post, am having difficulty seeing images.  When I install the plugin (I've tried 3 versions up to ver 2.1) it reserves a space at the top of the page, but nothing is displayed. I am using Coppermine 1.5.6.

When I use IE, there is a javascript error (which disappears upon uninstalling the plugin)  Here are the details... hopefully this will help.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 1.1.4322; MS-RTC EA 2; Media Center PC 6.0; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)
Timestamp: Sun, 1 Aug 2010 21:39:23 UTC


Message: Expected '}'
Line: 3
Char: 769
Code: 0
URI: http://lifewind.dyndns.org/index.php

Thx, and your demo site looks great!
Gary
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: pulse4j on August 01, 2010, 11:52:22 pm
Item resolved by uninstalling CompressHTML 1.2 plugin...

thx
Gary
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: beshkanweb on August 31, 2010, 10:32:20 am
Hi.
Thank you for this Plugins.
i need Add target="_blank" to this plugins. please help me.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Spoter on November 08, 2010, 03:50:18 pm
I have the same problem as Joe Carver without installing other plugins. I tried with two IE8 and google chrome and looks match
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: papukaija on November 13, 2010, 03:00:05 am
i need Add target="_blank" to this plugins. please help me.
That's invalid html, but if you want to use it, look more closely to your gallery's plugin manager. More information available here (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616).

@Spoter: Please post a link to your gallery (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616) as requested by board rules.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Spoter on November 15, 2010, 08:38:38 pm
Sorry, I wanted to say that I have the same problem as pulse4j but without any plug-in. It influences the content of the gallery because when I delete it, the image scroll stays at left side.
Mi website is http://www.morfeofilms.com
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 16, 2010, 12:11:27 am
the image scroll stays at left side.
If this the problem that you are trying to describe then:

That is from your theme.

I can not be any more specific, but suggest that you look here:

Code: [Select]
       <div class="cpg_main_block_inner">
            <div class="cpg_main_block_inner1">

Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Spoter on November 16, 2010, 09:11:09 am
No, i think the theme is not the problem, because I´ve tried with another standard template and the image scroll is on the left too. I didn´t have this problem with the iscroll 1.1; the image scroll was not at the index. You can see it now with a standard template:
http://www.morfeofilms.com
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on November 16, 2010, 11:43:25 pm
Adjust the settings as I have provided for in the plugin config. page.

Quote
Set size for Flash window

Use size of cpg album table or set in pixels.
Set Division height to adjust size of window.
Height is adjusted from bottom
Use Config. value of Album table for width

Quote
Set iScroll window size
Here you can adjust the size of the swf window and div. Options are to use the Coppermine album table width (default) and to set the values in pixels (default 800x250). The setting will affect the size of the thumbs displayed.
Division height adjustments will add/remove from the bottom of the iScroll window.

Yours is now set at 600 pixels. Use the width of the album table or try something larger. Yes, it would have been better if centered when set small. however this does not seem to be a common issue
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Spoter on November 20, 2010, 10:27:47 am
Thanks, the problem was mine. Problem solved.

How I can change the font color?

Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: flapane on December 05, 2010, 01:26:25 am
Hi there,
please, would you be so kind (and if it's not too complicated and it's not OT here) to do a 560x260 swf (with descriptions and something like 9/10 thumbs shown all together, as in my old flow.swf) file just for me?
I tried to substitute my old flow.swf (I found here a couple of years ago and that distorts the portrait-aspect-ratio photos) file on my homepage with your iscroll swf.
However,  the thumbs are too small, as you can see on my homepage and on the screenshoot, and I suppose that this is related to your swf file being 800x250.
Attached here are my old flow.swf output and yours.
Thanks in advance for every negative/positive answer.

Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on December 05, 2010, 12:23:21 pm
    - I can not make any new .swf's. Those were made by rhpMedia. The mod. thread with his work is now closed.

    - If you can .zip and attach your "old file" I might be able to take a look at how it works with the plugin.

    - If you can enable the plugin on your site, then seeing it in the context of your help request might help.

    - When you enable the plugin try adjusting the the values in the plugin config.

   - Validate your site here: http://validator.w3.org/. It has problems that might interfere with the plugin.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: flapane on December 05, 2010, 12:58:35 pm
Maybe I didn't explain myself very well.
Using the slideshow on my homepage (please tell me if it's OT, considering that in theory I'm not talking of the WHOLE plugin itself) means that I'm using it outside of CPG as a standalone parser for CPG last uploaded photos, and not in the form of cpg-plugin (please see it in action by opening my homepage), using both the flow_link swf and php files.
I tought that rphmedia gave you the "source" Flash project, because creating a smaller swf file is the only solution.
However, I see that the "old" swf file rphmedia gave me, stretches the portrait-mode photos, while the version you are using works well (and displays the titles of the photos, too), that's why I tought that you had created a newer and better version.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on December 05, 2010, 01:33:35 pm
The best suggestion that I can give to make it bigger as you want....

Try adjusting the movie height. That has a larger influence on the size of the thumbs where the width has a smaller influence.

Notice as you test that the width of the division that the movie resides in can also have an effect.

You are correct, we are OT and the time I have ATM is very small.......
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: flapane on December 05, 2010, 01:37:57 pm
Yes that would be a solution, but unfortunately it breaks the homepage layout ;D
I'll try to contact rphmedia in some way and see if he can compile for me a version with working titles and aspect ratio, otherwise I'll see what I can do (not much, honestly).

Thanks anyway
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: saleks on December 14, 2010, 01:07:52 pm
Hi,
Nice plugin, but can't see images. I tried everything and don't work. I read all posts before and try everything, but no efect. I just see place, where have to be iScroll, but no images.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: protheus on January 24, 2011, 03:41:34 pm
Same as the previous poster for me too. The place exists, but nothing appears. Link to my gallery : http://www.jurnalulm.eu (http://www.jurnalulm.eu) (I placed the "space" as the last "box on the page", for aesthetic reasons, until I solve the problem) .

I've tried disabling  the other plug-ins (LightBox, External Tracker, Keyboard Navigation) and left it all alone, but still the same.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on January 25, 2011, 12:46:36 am
I've tried disabling  the other plug-ins......

I see some Google analytics in the <head> of your page's source.
and
There is no iScroll header code.

I have no experience with Google analytics plugin, but suggest that you try moving it up/down on the installed plugins list or try disabling it to test.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: protheus on January 25, 2011, 08:01:12 am
It seems that Google Analytics script injected in theme (.html) or installed by the External Tracker plugin (regardless of position on the list) are hijacking the <head> . After uninstalling the E.T. plugin and also removing its settings it works.

So I have the choice of E.T. or iScroll plugin installed, but not both at the same time.

Thank you for Your answer,

Catalin C.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on January 28, 2011, 01:01:28 am
Both plugins compete for the same hook.

Both use the same variable name $html to set the output.

You could try changing that variable's name in one plugin (filename codebase.php) to something different as a test.
Remember to change all occurrences AND to make a backup first.

 
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: papukaija on January 28, 2011, 03:25:13 am
Both plugins compete for the same hook.

Both use the same variable name $html to set the output.
I'll fix that in the next release of External tracker.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Αndré on January 28, 2011, 11:32:40 am
Both plugins compete for the same hook.

Both use the same variable name $html to set the output.

You could try changing that variable's name in one plugin (filename codebase.php) to something different as a test.
Remember to change all occurrences AND to make a backup first.
It doesn't matter if two plugins use the same hook or the same variable name. The real cause is, that the plugin hook in the external tracker plugin is implemented incorrectly. It ignores the value the hook passes to the function. Changing
Code: [Select]
function external_tracker_header()to
Code: [Select]
function external_tracker_header($meta)and
Code: [Select]
return $ext_js_async;to
Code: [Select]
return $ext_js_async . $meta;should work (not tested).
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: protheus on January 31, 2011, 03:51:59 pm
Glad I tried the solution offered, it works as a charm, the google analytics code is added only if I'm not logged in as an admin, I forgot that and first thought in my mind was that it isn't working, until I tried unlogging. Now they both work well, didn't notice any errors until now (I'm not even a beginner in this domain so I can't say for sure  ;D ).
If someone wants to see the source code to be sure: www.jurnalulm.eu (http://www.jurnalulm.eu).

Thank you again for the help,

Catalin C.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: jayhunter on March 03, 2011, 05:31:27 am
Hey Joe.

I really like this plugin. I got a feature request though. :)

It would be cool to have more control over what images are shown. For me an album list where you can tick categories/albums on or off would be a very precious thing. Any chance you could implement something like that?

I would do it myself but your admin.php is so unreadable for me (sorry) that it would take too much time.

Cheers,
Jayhunter

P.S. Plugin in action @ Home Theater Backdrops & Wallpapers (http://www.htbackdrops.com)
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: cyberdyne2 on January 29, 2012, 12:26:13 am
..//.. the image scroll stays at left side.

Same here. Width of gallery body set in iScroll settings but scroll still set to the left. I'd like it centred.

can i change background colour?

I'd like to know this also please - the color of the image name text ?

Thanks
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on January 29, 2012, 01:37:50 am
scroll still set to the left. I'd like it centred.
Sounds like it could be a settings or html issue - post a link to your Coppermine.

I'd like to know this also please - the color of the image name text ?

No, it is embedded in the flash file. It can not be edited.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: heavensportal on March 06, 2012, 11:06:01 pm
If this the problem that you are trying to describe then:

That is from your theme.

I can not be any more specific, but suggest that you look here:

Code: [Select]
        <div class="cpg_main_block_inner">
            <div class="cpg_main_block_inner1">

Similar problem with one of my galleries.

link: http://thefantasiesattic.net/attic/cpg/index.php Link not safe for work.
theme: darkvelvet and curve (only ones installed)
version: 1.5.18

It is totally weird since I have the dark one installed in 2 other galleries and it works on them, placing the images in the middle instead of the left side.

I have installed, uninstalled then reinstalled it about 4 times now and it still floats to the left

The code you mentioned above, where do I find it?
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on March 07, 2012, 12:09:45 am
Please review the board rules about posting links that might not be safe for work. Your post has been edited to show the warning.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616

The anycontent.php in use is probably breaking the whole page. Even with the Curve theme.

Try either disabling anycontent.php or fixing it.
Check your site / theme here: http://validator.w3.org/

Title: Re: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: heavensportal on March 07, 2012, 01:27:04 am
Please review the board rules about posting links that might not be safe for work. Your post has been edited to show the warning.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616

The anycontent.php in use is probably breaking the whole page. Even with the Curve theme.

Try either disabling anycontent.php or fixing it.
Check your site / theme here: http://validator.w3.org/

Just curious, I have been posting the link here from the beginning and have never had to do the unsafe for work thing---did not even know about it. It is an art site why is it unsafe for work?

I did remove all anycontents totally, tried it still in curve and dark theme and the slideshow loves the left side
Title: Re: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on March 09, 2012, 02:49:49 am
...it still floats to the left

Try adjusting the plugin config settings in this order.

Use Config. value of Album table for width  set to Yes

Set size for Flash window - Width to a larger value

Set image/thumb count - to a larger value
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: heavensportal on March 09, 2012, 03:18:53 am
yes have it set to yes with these numbers: 900 -- 350 -- 275

and still not in center like the other 2 galleries are

I also set it to 1000 and got complaints that the main page is too wide and they have to scroll to view the main page.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on March 11, 2012, 12:32:39 pm
I can not seem to reproduce the effect unless this value in the iScroll plugin config is unchecked (set to no).

Quote
Use Config. value of Album table for width

Make sure you have checked that box and saved the change.

If that does not work, then maybe you can upload a fresh copy of the plugin and the curve theme and / or try it with another theme.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: heavensportal on March 11, 2012, 09:07:41 pm
yes that is how it is set...see first image then how it appears and one of the other galleries that appears normally too...but this one is being stubborn.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on March 12, 2012, 12:39:19 am
Review / change this setting:

Config >> Image view >> Width of the table for file display - Set to 100%
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: heavensportal on March 12, 2012, 05:04:45 am
Yes that did it, I can't tell you how many times I increased that but never used % at all.

Thank you so much, just going to reduce images down from 400 in iscroll config.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: heavensportal on March 12, 2012, 05:07:15 am
Another quick question...since we use the dark background theme how may I change the font to be a lighter color or is it set forever that way
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Joe Carver on March 13, 2012, 12:50:34 am
..or is it set forever that way

Yes, it is embedded in the flash file.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: heavensportal on March 13, 2012, 01:06:19 am
I was afraid of that but all is good...the image is the most important aspect anyway.

thanks for a wonderful plugin
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: scept1c on March 13, 2012, 10:06:17 am
Works great for me, thank you !
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: Tankertom on July 09, 2016, 07:12:32 am
Question
the possibility of the plugin also HTML5 capable to make? On the Smartphone it is not rendered, Flash will probably soon be set. ;)


VG TT
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: flapane on July 09, 2016, 10:48:49 am
If I'm not wrong there's a *similar* plugin written in javascript, which is a few years old. Try to check.
Title: Re: Image Scroll - Based on iTunes - Slideshow for Coppermine 1.5.x
Post by: ron4mac on July 09, 2016, 01:35:31 pm
the possibility of the plugin also HTML5 capable to make? On the Smartphone it is not rendered, Flash will probably soon be set. ;)

http://forum.coppermine-gallery.net/index.php/topic,75994.0.html