forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: Timos-Welt on March 25, 2008, 06:52:25 pm

Title: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 25, 2008, 06:52:25 pm
==============
    ImageFlow v2.08
==============


What it does:
--------------
Displays a coverflowish JavaScript animation of pics from a meta album (random files, last additions, most viewed or top rated) on album list page. Can make use of the plugin EnlargeIt!
The animation can be controlled by:
 - click on a pic
 - arrow keys
 - double click or single click on active pic opens intermediate page
No flash needed, so every modern browser works.
This plugin has been created for cpg1.4.x.

Requirements:
---------------
- Your server must run PHP 4.3.2 or above
- GD2 extension has to be installed

Browser Compatibility:
-----------------------
The animation is tested to be fully compatible with these browsers:
- IE 6
- IE 7
- Firefox 2.x (Win)
- Firefox 2.x (Linux)
- Opera 9.x (Win)
- Opera 9.x (Linux)
- Safari 3.1 (Win)
- Konqueror 3.5.x (Linux)
It probably works fine in many other browsers, too.

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

How to install:
---------------
* Download v2.07
* Uninstall any previous version
* Unzip
* Upload folder 'imageflow' into Coppermine's plugins folder
* Go to plugin manager page and install it
* Empty your browser cache

How to enable:
---------------
* To enable this plugin, you'll have to add "imageflow" to "the content of the main page" in coppermine's config in the section "Album list view". The setting should look like "breadcrumb/catlist/alblist/imageflow" or similar. For details, review the documentation that comes with coppermine (inside the docs folder) in the section "The gallery configuration page" > "Album list view" > "The content of the main page".

How to configure:
-------------------
* Use the additional button 'Imageflow' in admin menu.

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

Settings in detail:
--------------------
see README.TXT

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

Credits:
----------
This plugin is written by Timos-welt.
The plugin uses the incredible ImageFlow script. See http://imageflow.finnrudolph.de
Please note: The author of the Imageflow javascript changed the license of his script with version 1.0, so you have to pay for commercial use now. This release is based on an older Imageflow version (0.9) that is absolutely free, so you may use it wherever you want. Look here (http://finnrudolph.de/Shoutbox/1225723541) for details.
Parts of the code are adapted from the great CPG plugins 'Onlinestats' and 'Highslide' by Nibbler and Sami.
Don't try to contact the plugin author for support - post on the board publicly instead.

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

Change log:
-------------

v2.08 (2008/12/11)
------------------
fixed: IE would display unwanted tooltips
fixed: IE6 sometimes crashed with a strange error report ('member not found')

v2.07 (2008/11/18)
------------------
Fixed global use of $matches in mainpage function.

v2.06 (2008/11/05)
------------------
EnlargeIt! can now be used to play youtube movies, though these will not appear as thumbs in imageflow

v2.05 (2008/09/15)
------------------
fixed a bug with Firefox 3 that would lead to ugly selections when using the slider

v2.03 (2008/08/27)
------------------
fixed a bug that would lead to double id's (invalid XHTML) if not enough pics in cat
added french translation

v2.02 (2008/07/10)
------------------
faster reaction with EnlargeIt! plugin
removed BOM from one of the JS files

v2.0 (2008/06/16)
-----------------
* Works together with EnlargeIt! plugin.

v1.72 (2008/05/11)
------------------
* New EnlargeIt! version 0.94 fixes two bugs
* Dutch language file added (thanks Hein)

v1.71 (2008/05/09)
------------------
* Fixed a bug where pics wouldn't be displayed when no intermediate pic had been
  generated
* Changed the way the script is integrated into the header for better
  compatibility with bridged and/or heavily modded gallerys
* New EnlargeIt! version 0.93 with more options
* Added italian language (contribution by user ngul)

v1.7 (2008/05/03)
-----------------
* EnlargeIt! integration (see http://enlargeit.timos-welt.de) - really nice effect with ImageFlow
* much better support of pics with funny filenames

v1.5 (2008/04/16)
-----------------
* now out of the box compatible with Highslide, Slider and most other Javascripts
* corrected JS syntax to make it packable, the JS is now only 5,5 kByte in
  size, unpacked version is still included as 'imageflow_source.js'

V1.4 (2008/03/31)
-----------------
* the Imageflow container now has correct height for pics with relations width:height
  from format 2:3 to 20:1, so they won't overlap the borders anymore
* if Imageflow width is set to a fixed pixel value (e. g. 800px), the reflexion
  images will be generated exact in size to fit. This greatly improves image
  quality and loading speed, because the images needn't to be interpolated by
  the client browser when having their maximum size while in focus; therefore,
  it's highly recommended to use a fixed px value instead of a % setting for
  Imageflow width
* improved animation - all pics now on a straight line like in original coverflow
* finally full compatible with Highslide 3.03

v1.3 (2008/03/28)
-----------------
* fixed a bug where pics wouldn't be displayed if no intermediate size image had been
  generated
* fixed a bug where Imageflow would possibly prevent other plugins from working

v1.2 (2008/03/28)
-----------------
* new option to select meta album (random files, last additions, most viewed, top rated)
* new option to display imageflow in a standard table of the theme with caption; this way,
  Imageflow can replace one of the meta album contents completely (e. g. top rated pics)
* now works as intended in multi-user galleries
* if there's not enough pics in a category, they will be repeated to give at least 5 pics
  to prevent the Imageflow animation from crashing
* if there's not a single pic in a category, the plugin will display random pics from the
  whole gallery
* if there's not a single pic in the whole gallery, a dummy pic will be used to prevent
  the Imageflow animation crashing
* a few performance improvements in codebase.php

v1.1 (2008/03/26)
-----------------
* Fullsize display didn't work anymore - fixed.
* Option 'Imageflow is inside a table' now works as expected;
  as it doesn't harm normally, standard value is now 'Yes'.

v1.0 (2008/03/22)
-----------------
* initial release


[Edit GauGau 2010-03-05]
This plugin has been added to the subversion repository: http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.4.x/plugins/

It has been updated as well to reflect the version checking routines in the plugin manager that are meant to make sure that galleries don't break because of plugins installed that aren't meant for that particular version of the gallery.

Download: https://sourceforge.net/projects/coppermine/files/Plugins/1.4.x/cpg1.4.x_plugin_imageflow_v2.9.zip/download
[/Edit]
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 25, 2008, 07:44:37 pm
==============
 Imageflow external
==============


Update v1.2 (2009/03/31):
--------------------------
* compatible with Firefox 3.x
* compatible with Nibbler's YouTube mod

Update v1.1 (2008/05/12):
--------------------------
* Pics now on a straight line like in original coverflow
* Links now open in seperate window

What it does:
--------------
This little add on generates an Imageflow animation on a seperate page, that can be included via iframe. The add on works completely indepent of the original plugin. The plugin needn't even to be installed at all (though it doesn't harm to have it installed as well). This add on cannot be configured using the plugin config page; the parameters have to be set in file imgflow_external.php.

This add on cannot replace the plugin, it will e. g.
- only work on public galleries,
- it will only display pics that are available to anonymous users,
- the image quality will be inferior to the plugin,
- and it will not allow the generated reflexion images to be cached.

It is meant as a solution for those, who can't use the plugin for the following reasons:
- The Imageflow animation should be displayed on a seperate page that's not part of the gallery, e. g. the start page of your website.


Demo:
-------
http://cpgdev.timos-welt.de/cpg1416/imgflow_external.php


Installation:
-------------
- unzip
- open imgflow_external.php with a decent text editor
- set the parameters as you wish
- upload the 6 files to your gallery root


How to use it:
--------------
- open http://path.to.your.gallery.root/imgflow_external.php
- include it via <iframe> on the page where you want it to be displayed
- if you don't know what an <iframe> is, use google
- if you googled and still don't know how to include it on your page, please use the plugin instead


Uninstall:
----------
- delete the 6 files from your gallery root (their name starts with imgflow_)
- done
Title: Re: Imageflow (coverflowish JS animation)
Post by: Sami on March 26, 2008, 01:39:10 am
Didn't try it yet but it looks nice on your demo site.
Great job , fantastic :)
Title: Re: Imageflow (coverflowish JS animation)
Post by: Hein Traag on March 26, 2008, 08:01:42 am
Nice one Timos. Looks really smooth  :D
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on March 26, 2008, 08:29:20 am
Excellent plugin - I absolutely love it, since it doesn't require flash. I tested it on my local testbed (not available on the internet) - here are my test results: there is an issue with the position of the images floating on top (no matter if I select yes or no for "Imageflow is inside a table") - they are outside of the black background no matter what setting I use for "Correct upper border of animation" - see screenshot. I will test this later on my Windows-driven testbed as well.

My testbed is
These are my settings:
Your demo looks as expected, so this must be something on my end.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Pascal YAP on March 26, 2008, 08:59:21 am
Yo Timos-Welt,

I'll push your Karma with one Point again ;D
So nice plugin : APPLAUD

PYAP

ps : Thanx Joachim about your screenshot ! The Pix in middle is mine  ;D
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 26, 2008, 12:28:17 pm
Thanks everyone for testing. Just released v1.1.

Joachim: v1.1 should fix your issue with the classic skin.

Update 1.0 => 1.1
Make sure to uninstall the plug before updating. Replace folder plugins/imageflow with the one from the new ZIP. Then re-install.


Have fun!  ;)
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on March 27, 2008, 08:15:54 am
Timo,

thanks for the update. I did as you suggested and uninstalled v1.0, removed the folder, unzipped v1.1 into the plugins folder, installed the plugin, but alas no change - the same thing happens that used to happen before. Happens not only on the classic theme, but as well for eyeball, fruity, rainy day and water drop. Works as expected for hardwired, igames, project vii and mac ox x.
Then I figured out that I needed to refresh the browser cache ([Ctrl]+[F5]), which improved the situation dramatically, so the problem basically was a PEBKAC-issue. However, I suggest adding a note to the instructions (and even the imageflow config page) that you need to force-refresh your browser after changing any settings (even though I have set "Cache generated reflexion pics" to "no").
A side-note though: the toggle "Imageflow is inside a table" does not work as advertized - it doesn't wrap the output of imageflow into a table, so I guess it hasn't been implemented. I suggest as well to review the use of <center> - it is deprecated and should be replaced with a corresponding <div>-container.

Again: thanks for your excellent work.

Joachim
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 27, 2008, 10:12:13 am

Hi Joachim,

Quote
Then I figured out that I needed to refresh the browser cache ([Ctrl]+[F5]), which improved the situation dramatically, so the problem basically was a PEBKAC-issue.

It's always a good idea to empty your browser cache after changes in JS/CSS things. I removed v1.0 from the downloads because it's obsolete, so noone should have to update ATM. If there should be another version, I'll add a remark to empty browser cache.

Quote
that you need to force-refresh your browser after changing any settings

Wrong. The settings you can influence via the config page will not change anything of the static content (JS/CSS). All settings change their stuff in the actual page HTML, which normally shouldn't be cached if you generally prefer some alternation in life.  ;)

Quote
the toggle "Imageflow is inside a table" does not work as advertized - it doesn't wrap the output of imageflow into a table, so I guess it hasn't been implemented

Wrong. The setting "Imageflow is inside a table" will wrap imageflow in an additional div container, which is neccessary if Imageflow is inside a table (or you'll encounter the problems you had in version 1.0 with certain skins). The setting could also be named "Skin has table-based layout", I'll probably rename it in a later version. Check yourself: Set this to 'no' and reload - classic skin (and the others you mentioned) will be broken again. Igames, hardwired etc. work without a problem. This option should have no impact if you use a skin that doesn't wrap things in tables.

Quote
I suggest as well to review the use of <center> - it is deprecated

I know that, but the use of <center> is - at least ATM - the only way to keep all browsers working. I tried to use a container element aligned to center, but it broke the Imageflow layout in some browser versions. There's no browser on the market that doesn't perfectly interpret the <center>-tag, so let's wait some more time changing this. Still too many people with IE6 on the road...

Quote
Again: thanks for your excellent work.

Thanks very much for your review!

Version 1.1 works as expected. I will remove the 'beta status' remark from the initial posting.

Have fun!  :)
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: lurkalot on March 27, 2008, 07:13:55 pm
I just installed this plugin, and love the effect. But I have a question.

Before I installed this plugin, and with a bog standard setup of coppermine.   If you click for example, Last uploads, or Top rated etc, you get a page with just those pics in.   Also if you click a users gallery, you see the pics from that user only.  With this plugin installed, when I click on a users gallery you still get random pics showing from other people in the imageflow. 

Is there a way to make this plugin display the users gallery in this way (just that users pics?), "top rated", "Last uploads", Last comments", "most viewed"

Not explaining myself too well, am I  :-[ .  So instead of random pics on every page, have it display only the pics from that users gallery, or from "top rated", "Last uploads", Last comments", "most viewed" as it would if the plugin were not installed.

This for me would make this plugin an absolute winner. ;)
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 27, 2008, 10:30:29 pm
Hi lurkalot,

well, I cannot integrate Imageflow on every page of the gallery ATM (I simply don't know enough about Coppermine and PHP to do it). Imageflow will - not for the time being, but for some more weeks or months - be restricted to the main (album list) page in one instance.

What I can do: Let you select, which meta album to display via Imageflow. Attached, you'll find a beta version that can do this. See README.TXT for details.

To update, uninstall previous version, then copy folder imageflow to plugins directory, then re-install. No need to clear browser cache, because the static files aren't changed.

This release is beta and not really tested here, so please test it and report. I'm quite sure that it works as intended, but I cannot guarantee it.

regards
Timo

Edit: File removed, because v1.2 is released.
Title: Re: Imageflow (coverflowish JS animation)
Post by: lurkalot on March 27, 2008, 11:55:02 pm
Timo, thank you very much for your reply.

I have now installed your 1.2 beta version and it works just fine.  Your getting very close to what I need, and at least it now has those new options.  Just a shame you can't get it to follow the user galleries, and display their latest pics etc.

Problem as I see it.  When I click on someones gallery, I'll see (assuming imageflow is set to show latest uploads) for example.  When I look at their gallery it's easy to mistake the images I see in imageflow as images that user has uploaded.  This could lead to confusion.  Hope you understand what I'm trying to say, I'm not moaning and really appreciate the work your putting in to this.  It's a great plugin.  ;)

You can see your new version in action here.  www.cameracraniums.com  currently set to show latest uploads.  ;)
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 28, 2008, 09:13:53 am
Ahhh now I understand what you mean. As I said, I don't know everything about Coppermine - for example I don't use user galleries at all. From a users point of view it seems to be an own album list page for each user gallery. What you want should be absolutely no problem to implement, gimme some hours. :)

regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 28, 2008, 09:53:48 am
Here's another beta that can do what you want. :)

Have fun  ;)
Timo

Edit: File removed because 1.2 is released.
Title: Re: Imageflow (coverflowish JS animation)
Post by: lurkalot on March 28, 2008, 10:22:03 am
Here's another beta that can do what you want. :)

Have fun  ;)
Timo

This is fantastic, thank you.  New beta is installed and working as I want.   Now this can be used on a community site, as well as a personal one.  Great work.  ;)

All I have to do now is stop it from obscuring my nav buttons, any advice on how to do that?

Again you can see your new beta running here www.cameracraniums.com  set to latest uploads again.   
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 28, 2008, 11:54:13 am
I'm glad that it works for you.

Quote
All I have to do now is stop it from obscuring my nav buttons, any advice on how to do that?

Set "Correct upper border of animation (value between -200 and 500)" to a higher value, e. g. 50.

regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 28, 2008, 01:57:22 pm
Just released v1.2.
If no show stopping bug is found, Imageflow v1.2 will be the last version for some time.

Language files wanted!

If you like to translate it, use the english.php from the lang folder, rename it to yourlanguage.php and translate the contents.

TIA
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: hobert on March 28, 2008, 08:06:00 pm
This is soooo cool, thank you for all the hard work.

I've got it installed as a replacement to the RANDOM section on my gallery @ http://www.hobert.net/gallery/ (http://www.hobert.net/gallery/) at the very bottom, but if the image does not have a fullsize one (ie, there is only the thumbnail and intermediate), I get a red "X" showing up.  Since you can see through it to the next image, it's not so much a bother, other than being annoying.
Title: Re: Imageflow (coverflowish JS animation)
Post by: lurkalot on March 28, 2008, 08:07:33 pm
I'm glad that it works for you.

Set "Correct upper border of animation (value between -200 and 500)" to a higher value, e. g. 50.

regards
Timo

Thanks again, that worked just fine set at 50.  What a Great plugin.  ;)
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 28, 2008, 09:15:02 pm
This is soooo cool, thank you for all the hard work.

I've got it installed as a replacement to the RANDOM section on my gallery @ http://www.hobert.net/gallery/ (http://www.hobert.net/gallery/) at the very bottom, but if the image does not have a fullsize one (ie, there is only the thumbnail and intermediate), I get a red "X" showing up.  Since you can see through it to the next image, it's not so much a bother, other than being annoying.

Fixed in 1.3, please update. The problem isn't that no fullsize pic is there (it is _always_ there), but that no intermediate image is being generated if the original image is too small or if it's deactivated in config. Both cases won't be a problem anymore with v1.3.

Have fun!
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Megachip on March 30, 2008, 02:44:58 pm
Hello Timos-Welt,

I think it would be nice to have the possibility, to set the heigth of the imageflow

Regards

Meg
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 31, 2008, 08:23:05 pm
Hi Megachip,

please update to v1.4, this should fix most height issues (and highly improves image quality!).

Have fun!  ;)
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: hobert on April 01, 2008, 05:43:32 pm
When you choose to place it into the theme's tables, and force/change the upper border positively (in my case, +75), the table background goes wonky (see example).  Also, when you use a set width, if it's less than the normal table, it happens on the sides as well.

http://www.hobert.net/gallery (http://www.hobert.net/gallery)

This is looking better and better each time!
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on April 01, 2008, 08:23:21 pm
Had to look up wonky in die dictionary (according to dict.leo.org, this should mean "schief, schwach, wachelig" if other germans read this hehe). I fail to reproduce what you mean; in the end, what I see is just an Imageflow effect that's moved down 75px and works as intended. The table background color of the Max OSX theme isn't that beautiful; I'd probably place it outside a table in this case.

http://www.hobert.net/gallery/index.php?cat=4&theme=fruity is not as red for example. ;)

Have fun,
Timo

Edit: Tried again looking for that bug. Now I can reproduce it, but only with IE and certain skins; other browsers like Firefox or Opera work just fine, same is true for other skins in IE (e. g. igames - http://www.hobert.net/gallery/index.php?theme=igames ). Is this correct? If yes, I will have a closer look at it.

BTW: Some pics in your gallery cannot be displayed in Imageflow correctly because you use special (forbidden) characters in file names like spaces. Best solution would be to use valid file names, but I'll have a look at it for future versions. I know the problem; earlier versions of Coppermine did allow these characters indeed, newer versions don't.
Title: Re: Imageflow (coverflowish JS animation)
Post by: lurkalot on April 01, 2008, 11:33:27 pm
Timos,

Thanks for doing all this work.   Have you made the pics smaller in version 1.4? they don't seem as big. :(
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on April 02, 2008, 12:32:10 am
Hi lurkalot,

version 1.4 displays pics in portait format (height > width) a little bit smaller to ensure that pics even in format 2:3 don't overlap the top border of the imageflow DIV and cover menu buttons or other contents of the page. The size of pics in landscape format (width > height) is the same as in the previous versions. IMO that's quite sensible, because if pics in portait format would be displayed with the same width as pics in landscape format, there would be a huge amount of wasted space when displaying the latter. One shouldn't see it as shrinking of portrait mode pics, but rather as an enlargement of landscape mode pics to better use the given space.

Sorry, I can't make this optional, because the beautiful new algorithm to scale pic sizes exactly when using fixed pixel value as Imageflow width wouldn't work anymore. I hope you can live with it.

regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: lurkalot on April 02, 2008, 01:07:59 am
Timo, thanks

That explains it perfectly for me, and I'm well happy with it.  I just thought it looked different but couldn't see how.  Pics look great in this one. ;)

Thanks again.  ;)

Mick
Title: Re: Imageflow (coverflowish JS animation)
Post by: bigarte on April 08, 2008, 03:02:40 pm
Thanks for a great plug-in Timos-Welt.  Worked for me first time after following your instructions (which are clear and precise).  Keep up the great work mate.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Hein Traag on April 14, 2008, 09:42:24 pm
Timos you might want to add the Highslide plugin to the list of plugins that does not work together with this one.

Maybe build in a check which gives the user a alert when a non-compatible plugin is already installed ?

Cheers
Hein
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on April 14, 2008, 09:54:35 pm
Hi Hein,

Highslide works perfectly together with ImageFlow, assumed that you use both latest versions (HS 3.03, Imageflow 1.4). Look at my demo gallery, where Highslide, ImageFlow and Slider live together in peace and harmony:  ;)

http://cpgdev.timos-welt.de/cpg1416

regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Hein Traag on April 14, 2008, 10:24:24 pm
Typical PEBKAC

Updated and working fine once again :)
Title: Re: Imageflow (coverflowish JS animation)
Post by: Megachip on April 19, 2008, 04:37:41 pm
Hello Timo,

some problems, wishes...

If i set the width to 100%, all the pictures are "verpixelt" (don't know the english word). Possible of cause the display resolution (1920x1200).

Also it would be nice, to have the possibility to set a max high, because of this huge resolution, the imageflow is really big.

Thank you very much

Regards
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on April 19, 2008, 11:53:10 pm
If i set the width to 100%, all the pictures are "verpixelt" (don't know the english word). Possible of cause the display resolution (1920x1200).
Also it would be nice, to have the possibility to set a max high, because of this huge resolution, the imageflow is really big.

Hi Megachip,

thanks for your feedback.

To improve image quality in 100% mode for very big screen resolutions, first step would be to set the corresponding paramter (reflect images have % size of original image) to 100%. If this still isn't enough, open codebase.php and find the line

Code: [Select]
$imageflow_file="albums/".$imageflow_row['filepath'].$CONFIG['normal_pfx'].$imageflow_row['filename'];and change to
Code: [Select]
$imageflow_file="albums/".$imageflow_row['filepath'].$imageflow_row['filename'];
This will greatly improve image quality for very high screen resolutions at the cost of greatly increased loading times - there's nothing free in this world.  :-[

Please note, that I recommend to use a fixed pixel size value for Imageflow width for best possible image quality at quickest loading times. See README.TXT.

Regarding the space the animation needs: This is not my script, see the credits section in initial post of this thread. I am not interested in creating a development branch of the original Imageflow.js, but I'll take what Finn (the developer) delivers and improve it as far as I can without too much work.

regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 03, 2008, 11:59:01 pm
Just released v1.7. Feedback is very welcome (as always), so are additional language files (only english and german at the moment).

Have fun!  ;)
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: ngul on May 07, 2008, 05:27:58 pm
Hi Timos, for me don't work!!  ???

I see only images disposed in column but not like in your demo-website....

Maybe theme problem? I use dm_legend with installed highslide v.3.03, slider and onlinestats plugins.

I've tried 1.5 and latest version, deactivated EnlargeIT, modified various parameters, deactivated  all other plugins..... but same problem.

Solution?
Title: Re: Imageflow (coverflowish JS animation)
Post by: ngul on May 07, 2008, 05:48:06 pm
Italian language attached....some words not translated.  :-\

Rename file in italian.php
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on May 07, 2008, 06:40:51 pm
The plugin v1.7 doesn't work as expected on my testbed (cpg1.4.18 on Windows XP with Apache2 and GD2.0.34), see screenshot. No interfering plugins, no mods, using the classic theme. Doing a right-click, properties on one of the missing files shows the url http://mytestbed.tld/my_coppermine_folder/plugins/imageflow/js/reflect.php?bgc=000000&fixed=870&cache=0&img=albums/userpics/10001/normal_flower.jpg
Pasting that URL into the address bar of the browser returns
Quote
Cannot find or read source image
, which is expected behaviour, since the original file is smaller in terms of resolution than the dimensions set for intermediate images - there is no file http://mytestbed.tld/my_coppermine_folder/albums/userpics/10001/normal_flower.jpg, but only http://mytestbed.tld/my_coppermine_folder/albums/userpics/10001/flower.jpg. This being said, the plugin doesn't seem to take into account the possible config options (originals being smaller than the intermediate size), so it's looking into the wrong spot. Don't take for granted that an intermediate sized file exists just because the resolution is smaller than anticipated. If you're not sure, perform a file_exists (http://www.php.net/manual/en/function.file-exists.php)
Am I missing something, or is this a genuine bug of the plugin?

Joachim
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 07, 2008, 07:14:09 pm
Hello Joachim and ngul,

thanks a lot for your feedback.

Since v1.7, the plugin uses
Code: [Select]
$imageflow_file=get_pic_url($imageflow_row,$IMAGEFLOWSET['imageflow_pictype']);to get the pic url, where $IMAGEFLOWSET['imageflow_pictype'] is the value you set yourself in the plugin settings (either normal or fullsize). You can find this at line 187 or 251 of codebase.php.

I am a bit shocked - up to now I didn't think that get_pic_url($pic_row,'normal') had to be checked or sanitized in any way. So what you say is that this function will only deliver the url if an intermediate size pic is generated, and if not, it will deliver nothing or a link to a non-existent intermediate pic? What do you suggest to replace it with?

TIA
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 07, 2008, 07:22:13 pm
Hello ngul,

a link to your gallery would be nice to make sure that it's the same problem Joachim encountered.

TIA
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on May 08, 2008, 07:57:27 am
is the value you set yourself in the plugin settings (either normal or fullsize). You can find this at line 187 or 251 of codebase.php.
As I said, this is not an option - you could of course pick the full-size pic to be used, but that would not be a bright idea - as I said, someone might have uploaded a file that is smaller than the intermediate dimensions; others might upload the max allowed dimensions, so the imageflow strip might be a mixture of both. Using the full-size in that setup would slow down the imageflow considerably. What I suggest is performing some if/then checking in the plugin's core if an intermediate exists and use that. Only if it doesn't exist, the full-sized should be used.
Title: Re: Imageflow (coverflowish JS animation)
Post by: PZsHosting on May 08, 2008, 08:13:03 am
==============
 Imageflow external
==============

Via <iframe>, how can the clicks be made: target="_blank"?

Thanks
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 09, 2008, 04:00:10 pm
@ Joachim & ngul:

I really hope, v1.71 will fix your issues. Thanks again for your feedback.

best regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 09, 2008, 04:26:47 pm
Via <iframe>, how can the clicks be made: target="_blank"?

Open imgflow_imageflow.js with a text editor.

Find line
Code: [Select]
image.ondblclick = function() { document.location = this.url; }and replace with
Code: [Select]
image.ondblclick = function() { window.open(this.url,'_blank','resizable=1'); }Find line
Code: [Select]
image.onclick = function() { document.location = this.url; }and replace with
Code: [Select]
image.onclick = function() { window.open(this.url,'_blank','resizable=1'); }
regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: PZsHosting on May 09, 2008, 04:46:54 pm
Thank you!

I have Coppermined bridged to my SMF and yesterday when I tried the external on the front page of my TinyPortal of my SMF, when clicking on the images, I got the displayimage showing up in the iframe still on the frontpage of my SMF.

This is much better. Thank you!
Title: Re: Imageflow (coverflowish JS animation)
Post by: ngul on May 09, 2008, 11:09:54 pm
Hi Timos, as i've tell you, i solved problem about your great plugin!
I've installed latest version, work well in Firefox but in IE6 when click on image, something don't work: the image disappear!  :o
No problem in Safari (3.1.1) and Opera browsers!!  ::)

I don't know in IE7.....
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 10, 2008, 01:03:02 pm
Hi Timos, as i've tell you, i solved problem about your great plugin!
I've installed latest version, work well in Firefox but in IE6 when click on image, something don't work: the image disappear!  :o
No problem in Safari (3.1.1) and Opera browsers!!  ::)

I don't know in IE7.....

This bug report is valid for IE6 and IE7 in quirksmode. EnlargeIt! seems to have a problem getting the viewport of the browser window. For the moment, there's several solutions:
a) Fix your HTML (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.santrifone.it%2Fatwork%2Fgalleria%2Findex.php&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0)
b) Try switching the option "center on page" in EnlargeIt! settings on Imageflow config page.
c) Turn off EnlargeIt! on Imageflow config page.

regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on May 10, 2008, 08:45:47 pm
@Timo: I suggest adding a line to your initial posting that clarifies that only valid HTML will result in proper output. I would not worry too much about potential issues with people who have invalid HTML - they are bound to run into issue when using DHTML stuff.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 11, 2008, 12:27:39 am
@ngul: Please replace the file enlargeit.js in plugins/imageflow/enlargeit with the one from the attached ZIP file and report if it works correctly with your skin (please empty your browser cache before trying to make sure your IE uses the latest version!) - I hope I've fixed the quirksmode bug.

@Joachim: I don't worry too much, but on the other hand it's my personal ambition to make EnlargeIt! work with as many pages and cpg skins and browsers as possible, and not all skins are valid HTML, forcing IE<=6 into quirks mode. In this special case, it was adding 30 byte to the JS file, and while finding out which 30 bytes I had to add, I learned a lot about how strange the brains of MS staff seem to work, what really made my day in some way. Did I mention that I hate IE?

regards, and
looking forward to ngul's report
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: ngul on May 11, 2008, 10:38:08 am
Perfect Timo!!! Work like a charm now on all browsers and seem to be fastest on images loading!  ;D
Thank for your support Timo!!

Regards
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 11, 2008, 01:42:21 pm
Hi ngul,

glad to hear that - just released v1.73 with quirksmode compatible EnlargeIt! version. ;-)

regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: ppeter on May 12, 2008, 01:06:57 pm
hi!

thank you for this wonderful plug in

how can i change in imgflow_external

in the file imgflow_reflect.php

bgc              optional   Background colour to fade into, default = #FFFFFF

in what line can i change the color?

regards
peter
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 12, 2008, 01:47:39 pm
File imgflow_external.php, line 15.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Hein Traag on May 12, 2008, 04:35:40 pm
Timos,

in the english lang file there's some leftover German (not fastfood but text  ;D )
"(percent oder absolute;"

Cheers
Hein

p.s. added dutch lang file
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 12, 2008, 05:50:33 pm
Thanks Hein, I've added the dutch file to the ZIP and your karma has increased second time today. :)

BTW: Changed the 'oder' to 'or', thanks for the hint. But i'd prefer dutch fastfood over german one indeed (hmm frikandel).
Title: Re: Imageflow (coverflowish JS animation)
Post by: fil6718 on May 21, 2008, 11:50:18 am
I've put this plugin on my gallery and it works perfectly
Thanks for your work
Just a question : Can we put a link on the enlarge photo to go directly on the album of this photo ? (like the HighSlide plugin)
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 21, 2008, 12:20:32 pm
The EnlargeIt! option in this plugin will merge with the EnlargeIt! CPG plugin to come in the next weeks that will bring a complete AJAX gui for Coppermine. Look here (http://enlargeit.timos-welt.de/beta/demo0/demomachine.php) for a preview of EnlargeIt! v0.95, and then imagine a button for pic info, one for voting, one for comments, one for add to favourites and so on. A link to the intermediate page won't be neccessary then anymore, just like the whole intermediate page won't (though it will stay where it is for people without Javascript). That's why I won't add a link feature ATM - it's just not worth to spend the time IMHO.

Please have a little patience, there's good things to come!   ;)
Title: Re: Imageflow (coverflowish JS animation)
Post by: fil6718 on May 21, 2008, 03:25:27 pm
Great!!!
Thanks for your answer

I'm waiting for your new plugin.
Title: Re: Imageflow (coverflowish JS animation)
Post by: fangweile on June 03, 2008, 10:00:12 am
OMG, :o it is really great, I am using it right now.  I really like it.
Thanks a lot for this plug-in
Title: Re: Imageflow (coverflowish JS animation)
Post by: fangweile on June 20, 2008, 03:29:13 am
Like what I said above it works great, however when I modified my current theme and added some hover functions, it seems like it doest work anymore in firefox. It works perfectly when I view it in IE and it only display the "loading images" in firefox. I think there is a conflict with my script thats why it doest load. I don't know what is seems to change to make it display in firefox. Take a look at my gallery here:
www.allkoreans.net/gallery . Perhaps someone have suggestion or fix on this. Thanks in advance. ^_^
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on June 20, 2008, 09:10:21 am
This thread is about Imageflow plugin, not about other scripts you wrote yourself or took from somewhere else. Please open a seperate thread in a appropriate forum to correct your javascript issues.
Title: Re: Imageflow (coverflowish JS animation)
Post by: fangweile on June 20, 2008, 10:45:14 am
Alright, thanks for your reply. I am trying to figure it out right now.
Thanks again for this great plugin ^_^
Title: Re: Imageflow (coverflowish JS animation)
Post by: snark on August 19, 2008, 10:30:48 pm
Hi Timo,

This is a great plugin ;D . Thanks a lot for creating and maintaining it.

I created the french translation for ImageFlow (zipped so I could attach it). I tested it in my gallery and it looks correct to me. Hopefully it will be useful to someone else.

Regards,
snark
Title: Re: Imageflow (coverflowish JS animation)
Post by: andyleery on August 26, 2008, 04:02:13 pm
HI, I have installed your plugin but I habe one problem.
-> http://www.bollybilder.de

After I add imageflow to the starpage, the script shows the categories and albums doubble.
This already happened in previous plugins. How can I fix this?
Title: Re: Imageflow (coverflowish JS animation)
Post by: andyleery on August 26, 2008, 04:03:03 pm
No editing function here?
Here the setting config: minicms/lasthits/breadcrumb/catlist/alblist/random/lastup,2/onlinestats/imageflow
Title: Re: Imageflow (coverflowish JS animation)
Post by: Hein Traag on August 26, 2008, 04:07:41 pm
Play a little with the plugin manager. Set the plugin a little higher in the list until problem is solved.
Title: Re: Imageflow (coverflowish JS animation)
Post by: andyleery on August 26, 2008, 04:30:52 pm
Thx, didnt know this has any relavance ^^
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on November 21, 2008, 08:28:52 am
Updated the version to 2.07 (current).
Title: Re: Imageflow (coverflowish JS animation)
Post by: whoosh on December 05, 2008, 03:40:47 am
Hi,
I saw the imageflow demo - it's so cool.  Really great.

I uploaded the script to my plugins folder, installed it using plug manager, enabled it under Album List View, but the images did not load. There is this bar on my album list page that seems to be loading but the images do not appear.

Is there anything else I need to do?  Pse advise.  Thanks.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on December 05, 2008, 08:15:05 am
Link to your gallery?
Title: Re: Imageflow (coverflowish JS animation)
Post by: whoosh on December 05, 2008, 01:36:46 pm
Hi Timo,
Thank you for the awesome plugin, imageflow.
I love it !!

The plugin works with the images appearing as expected.
However, when I log out and tried to get back to the Album List page, I encountered the error message, "There was an error while processing a database query."

What could be the problem?

Title: Re: Imageflow (coverflowish JS animation)
Post by: whoosh on December 05, 2008, 01:52:29 pm
Sorry,

here's the link:  http://www.photograffs.com/index.php.

Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on December 05, 2008, 02:40:41 pm
You are using CPG 1.4.13, that's a really old version. Please update now to 1.4.19.
Please activate debug mode and php notices on settings page. What does it say?
Title: Re: Imageflow (coverflowish JS animation)
Post by: whoosh on December 05, 2008, 02:50:17 pm
Thanks Timo,
I'll update and see what's gonna happen. ::)
Title: Controlling Height of Imageflow area
Post by: webhigh on December 07, 2008, 08:52:04 pm
how do you control or set the height of the Imageflow area

http://stoughtonhighalumni.org/alumni_photo_gallery/index.php

The black area I'm trying to reduce to crop in close to the images and one know ?

Thanks

Title: Re: Imageflow (coverflowish JS animation)
Post by: Fabricio Ferrero on December 08, 2008, 12:16:29 am
I don't know very much this plugin but maybe if you put out the vertical images the black area reduces by itself. If you look the images you selected to show in the scrolling there is one that fit exaclty in the black area. Put it out and see what happens. ;)
Title: Re: Controlling Height of Imageflow area
Post by: Timos-Welt on December 08, 2008, 01:53:37 am
how do you control or set the height of the Imageflow area

http://stoughtonhighalumni.org/alumni_photo_gallery/index.php

The black area I'm trying to reduce to crop in close to the images and one know ?

Thanks



It's all css...

Open codebase.php of the imageflow plugin.
Find this line:
Code: [Select]
  if ($IMAGEFLOWSET['imageflow_intable']) echo"<div id=\"imgflowcontainer\" style=\"width:".$IMAGEFLOWSET['imageflow_width'].";\">and change for example to:
Code: [Select]
  if ($IMAGEFLOWSET['imageflow_intable']) echo"<div id=\"imgflowcontainer\" style=\"width:".$IMAGEFLOWSET['imageflow_width'].";top=-50px;\">
regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: webhigh on December 08, 2008, 11:52:17 am
this doesn't appear to have any affect on the black area at all - what else affect the black area size?

How can I get the black area to be a fixed height

Thanks
Title: Re: Controlling Height of Imageflow area
Post by: webhigh on December 08, 2008, 12:58:02 pm
It's all css...

Open codebase.php of the imageflow plugin.
Find this line:
Code: [Select]
  if ($IMAGEFLOWSET['imageflow_intable']) echo"<div id=\"imgflowcontainer\" style=\"width:".$IMAGEFLOWSET['imageflow_width'].";\">and change for example to:
Code: [Select]
  if ($IMAGEFLOWSET['imageflow_intable']) echo"<div id=\"imgflowcontainer\" style=\"width:".$IMAGEFLOWSET['imageflow_width'].";top=-50px;\">
regards
Timo

Sorry some how last reply got posted before I finished,

I played with all the css I could think of and the codebase.php files for both Imageflow and Slider and could not find a way to reduce the black area around the image the only way I could really affect anything was to reduce the width if the imageflow area to 50% but that still leaves a rather large black area above the images and below the slider. I took out the portrait images but this does not seem to affect the size of the black area as someone had suggested.

So my origianl question still remains how do you reduce the size of the black area  to crop more closely to the images

Thanks
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on December 08, 2008, 03:08:14 pm
I don't know - I am not the author of the javascript. The script itself decides about the neccessary height. Please search the shoutbox of the script's author ( http://finnrudolph.de/Shoutbox ) for further information or use it to get in contact with him. Please post your solution here if you find one.

regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: greggan on December 08, 2008, 07:07:35 pm
How to get imageflow to autostart a timed slideshow?

Regards/ Stefan
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on December 08, 2008, 07:25:14 pm
The version of the javascript that is used by this plugin (v0.9) doesn't support that. The author of the script Finn Rudolph changed the license with v1.0 so  from now on it's not free anymore; you have to pay for commercial use. That's why I decided to stay with 0.9 for now, because I can't deliver the js part of 1.0 together with the plugin (different license).
Title: Re: Imageflow (coverflowish JS animation)
Post by: whoosh on December 15, 2008, 03:05:51 am
Hi,
I upgraded to 1.4.19, uploaded the Image Flow plug-in.
It worked when I went to the Album List page - I can see it.

However, when I logged out, and tried to return to the Album List page, I get the following error message:

"There was an error while processing a database query"

See:   http://www.photograffs.com/index.php?cat=0.

How do I correct the error?
Title: Re: Imageflow (coverflowish JS animation)
Post by: whoosh on December 15, 2008, 03:10:13 am
Hi again,

here's the debug info:

"/plugins/contact/include/captcha.class.php
Warning line 14: session_start() [function.session-start]: open(/var/php_sessions/sess_d558b83757a23d7e74ba11c3703048fe, O_RDWR) failed: No such file or directory (2)
/plugins/calendar/include/init.inc.php
Notice line 27: Undefined variable: CONFIG
/plugins/captcha/include/captcha.class.php
Notice line 12: A session had already been started - ignoring session_start()"
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on December 15, 2008, 05:54:43 pm
Sorry, I have absolutely no idea. There's no known incompatibility between Imageflow and Captcha. Could be something with your webserver configuration, could be a bug in Imageflow, could be a bug in captcha - I simply don't know. Does Imageflow work when you uninstall the captcha plugin?
Title: Re: Imageflow (coverflowish JS animation)
Post by: margreet on January 28, 2009, 10:26:05 pm
I have installed version 3.01 in coppermine version 1.4.19 and installed it with the help of the plugin manager.
Now if I click on the image it just keeps on loading.
Can anyone tell me how I can solve this problem.
Tanks very much

P.S. I have seen this problem in an earlier post and there you recommended to use an earlier version.
However I can't find an earlier verson on the internet.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on January 29, 2009, 08:20:24 am
Posting a link to your gallery might help for a start...
Title: Re: Imageflow (coverflowish JS animation)
Post by: margreet on January 29, 2009, 10:15:48 pm
You can find my gallery on:
http://www.margreetvanvliet.nl/beeldbank/index.php
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on January 29, 2009, 10:41:11 pm
1. You are using the Highslide plugin.
2. There's no Imageflow animation on your page, you don't seem to have installed the Imageflow plugin at all.
3, This is the wrong thread. You are wasting our time.
4. Highslide doesn't work because you didn't read its README file or the install instructions in the corresponding thread, and you did not install it completely.
5. I recommend to use EnlargeIt! instead of Highslide, because it provides a much better functionality.

Please always read the documentation delivered with the plugins before asking for support. That's especially valid for files that are called README.TXT or README. We call them like this because we want you to read them.

 ???
Title: Re: Imageflow (coverflowish JS animation)
Post by: margreet on February 01, 2009, 08:03:34 pm
I'm sorry.
I've been working at the computer for too long and lost concentration.
That's no excuse however :-\
Anyway, you have put me on the right track.
I have installed EnlargiIt!
And it is workin perfectly. great plugin!!

Thank for your time and the Plugin

margreet
Title: Re: Imageflow (coverflowish JS animation)
Post by: Cath22 on February 14, 2009, 08:00:43 pm
I just installed the latest version, (also Enlargeit) but it doesnt seem to work on my site. I only get that loading bar, nothing else happens??
http://www.fotofantastic.nl
For now I use the slider then, but still have a test of the imageflow on the bottom of my site.
And yes I also tried it without the slider installed.

Thanks
Cath
Title: Re: Imageflow (coverflowish JS animation)
Post by: Fabricio Ferrero on February 14, 2009, 08:44:31 pm
It load for me just fine. Indeed I felt amazed to see how fast loaded!

Clean your cache and try again.

Image attached.


P.S: Update! You're running one version behind!
Title: Re: Imageflow (coverflowish JS animation)
Post by: Cath22 on February 14, 2009, 08:57:47 pm
It load for me just fine. Indeed I felt amazed to see how fast loaded!

Clean your cache and try again.

Image attached.


P.S: Update! You're running one version behind!
Indeed, now it works on my machine too, although I did a cach clear a few times. Strange things are happening here  ??? But what do you mean to run behind. I only see version 2.8 being mentioned, and I installed that one?
Title: Re: Imageflow (coverflowish JS animation)
Post by: Fabricio Ferrero on February 14, 2009, 09:04:46 pm
Quote
But what do you mean to run behind.

I mean Coppermine version. Update, (http://forum.coppermine-gallery.net/index.php/topic,57882.0.html) you're in risk to be hacked!
Title: Re: Imageflow (coverflowish JS animation)
Post by: YBnormal on February 14, 2009, 09:07:05 pm
First let me Thanks for this wonderful addition for Coppermine galleries!

I am having a problem with the images changing that show up in Imageflow. When I change the image selection process to Random, Most Viewed, Last Additions, etc. the images do not change. They have been the same since I first installed this mod even after adding more images and changing that setting numerous times.

They do change in the default sections such as Last Additions and Random Files but the images in this plug-in's section and the Slider plug-in remain the same. I should also add that I have tried dumping all cache files, restarting computer, and viewing with Internet Explorer (I use Firefox mostly) but I get the same results.

Here's my gallery: http://twistedreality.us/gallery/index.php

If anyone could help me fix this issue, or explain what I'm doing wrong that would be most appreciated.

NOTE: I did post this question in the Misc forum for this mod, but after searching around the boards more I think I should have asked it here. At first I wasn't sure because the question relates to this plug-in and the Slider plug-in. Both of which I downloaded with the newest EnlargeIt plug-in if that makes any difference. Anyway, my apologies for posting this in two different places.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Cath22 on February 14, 2009, 09:11:46 pm
I mean Coppermine version. Update, (http://forum.coppermine-gallery.net/index.php/topic,57882.0.html) you're in risk to be hacked!

Ah that, yes I know, but updating means my mods are overwritten, I am busy checking these, so it will also work after the update. Needs some editing.
But thanks anyway.
Greetz
Cath
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on February 18, 2009, 08:05:51 pm

Here's my gallery: http://twistedreality.us/gallery/index.php

Your gallery doesn't work for me - it links to pictures that don't exist, for example http://twistedreality.us/gallery/albums/buttons/thumb_teamiconsblue.png - it's simply not there.
Title: Re: Imageflow (coverflowish JS animation)
Post by: YBnormal on February 18, 2009, 08:28:49 pm
Your gallery doesn't work for me - it links to pictures that don't exist, for example http://twistedreality.us/gallery/albums/buttons/thumb_teamiconsblue.png - it's simply not there.
I am sorry that it didn't work at the time you checked. I honestly have no idea why it would not be working, unless my host was doing maintenance or resetting the server. I have topics on 3 other forums asking for opinions on my gallery, and nobody has mentioned that it didn't work til now. In those topics I've had several members (probably 20 or more) view it with no problems. The image link that you posted is working for me, and I looked via FTP just to make sure that image was indeed on the server which it is.

Could you please look again when you have a chance? Thanks.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on February 18, 2009, 09:35:27 pm
Works fine now. Can't find a problem?
Title: Re: Imageflow (coverflowish JS animation)
Post by: YBnormal on February 18, 2009, 09:41:34 pm
The problem is that I have Imageflow set to show "Random" images. If you sit and reload that page over and over the same images show up in the Imageflow section. The "Random Image" section that comes with Coppermine does change the images with each reload of the page, but for some reason this plug-in (and the Slider plug-in) images do not change. I have also set the Imageflow to show "Last Additions" but it still shows the same images even after adding new ones to my gallery (all folders are public viewing if that matters).

Are the images "changing" for you, or do they stay the same? If they are changing for you then it might be a browser issue I guess. I'm using the latest version of Firefox, but also get the same results using IE.

Thanks again for your time in looking at this.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on February 18, 2009, 09:49:08 pm
Definately a client side issue; the pics change here correctly when I click on reload (Firefox 3).
Title: Re: Imageflow (coverflowish JS animation)
Post by: YBnormal on February 18, 2009, 10:39:58 pm
OK, thank you for your time taken to look at it for me. As long as it's working for others then it's not a problem.
Title: Re: Imageflow (coverflowish JS animation)
Post by: YBnormal on February 22, 2009, 07:10:45 am
I'm sorry to be a bother, but I have since checked this on 3 different computers at different locations and I'm still seeing the same 12 images. The order of the images is shuffling around, but not the actual images.

I think when you reloaded the page a few times you noticed that the images shuffled around and looked to be new images, but since you haven't seen these images before you didn't notice they were still the same 12. I hope that makes sense, lol. I've probably seen them 100 times since making them and then working on my coppermine page, so I kinda have them memorized.

So back to my question before:
Do you know why the "random image" selection isn't picking from the other 100+ images I have uploaded on there and only shuffling the same 12? I actually have it set on 15 images to show as well, and when I set it to show Last Additions/Most Viewed or Top Rated it's still the same 12 images.

Here's my gallery link again, so you don't have to backtrack for it: http://twistedreality.us/gallery/index.php
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on February 24, 2009, 01:29:28 am
Thanks for your report, I understand what you mean. I'll have a look into this soon.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Juanito on March 04, 2009, 09:39:16 pm
plugin looks very nice, but it runs very slow on my config. just loading up the gallery homepage jumps my server's processors' usage to 100% (dual-core). i've tried setting it to as low as 7 random pictures, but the same thing happens. I have both intermediate and large-pictures. Some of the large pictures are over 2MB and I get the feeling the plugin is resizing each picture (using the large version) on the fly. i also have slider and enlargeit plugins on the gallery, but both of those load instantly.

any idea why it loads slowly? ive tried both Firefox 3 and IE 6. it takes a good 30 seconds to load just 10 photos. and some pictures dont' even load at all. On IE 6, i get some missing photo boxes (with the red X on the top left) but when I click on it, the intermediate photo does pop up with the enlargeit plugin. On firefox, it shows as just a blank white area. all my photos are fine, nothing is missing.

http://www.mckinleytech.org/gallery/index.php

I will try to see if this happens on my home PC. i'm at work atm.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 04, 2009, 10:18:37 pm
Set "Enlarge to" to "intermediate size". ATM it tries to load the full size pics, and they are full of size indeed...
Title: Re: Imageflow (coverflowish JS animation)
Post by: Juanito on March 05, 2009, 01:50:05 am
under EnlargeIt! options, it is already set to "intermediate (normal) size" for "Enlarge to pic in". same problem.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 05, 2009, 10:16:08 am
You have to set this as well on the Imageflow config page, not only on the EnlargeIt! config page. Same is valid for the slider config page.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Juanito on March 05, 2009, 02:49:17 pm
that is what i meant. inside the "Imageflow PlugIn - v2.08" config tab, there's a section called "EnlargeIt! options". under that section, there is a setting called "Enlarge to" and it's set to "intermediate size".

I also see a setting labeled "Enlarge to pic in" in the "EnlargeIt! PlugIn - v2.14" config tab, but this is also set to "intermediate size" already.

Same goes for the "Enlarge to" setting under the Slider config tab which is also set to "intermediate size pic".

Here's my settings for Imageflow:

For Imageflow PlugIn - v2.08

Width of Imageflow: 100%
Number of pics: 10
Background color #: FFFFFF
Skip pics in portrait orientation: Yes
Show Imageflow in standard table of the theme: No
Show pics from which meta album: Random Files
Align: Center
Theme has table based layout: Yes

EnlargeIt! options  (but still inside the Imageflow Plugin - v2.08 settings)
Use EnlargeIt!: Yes
Enlarge to pic in: intermediate (normal size)

Hardcore Options
Correct upper border of animation: 0px
Generated reflexion images have size of normal intermediate pics in percent: 66%
Cache generated reflexion pics: Yes

thanks again for the help. its very appreciated  :)
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 05, 2009, 03:17:00 pm
Open codebase.php.

Find this line:
Code: [Select]
if (!cpgif_my_is_file($imageflow_reflfile)) $imageflow_reflfile=get_pic_url($imageflow_row,'fullsize');and change to
Code: [Select]
if (!cpgif_my_is_file($imageflow_reflfile)) $imageflow_reflfile=get_pic_url($imageflow_row,'normal');
Then find all files under albums/ and its subfolders that start with refl_ and delete them. Now delete your browser cache and try again.

Does this help?
Title: Re: Imageflow (coverflowish JS animation)
Post by: Juanito on March 05, 2009, 05:06:40 pm
there were two occurrences of the code you mentioned in codebase. i replaced both occurrences with the new code.

works like a charm now. thanks!
Title: Re: Imageflow (coverflowish JS animation)
Post by: Juanito on March 05, 2009, 05:12:06 pm
yup yup. the application now makes small 10-15kb refl_ pictures instead of large 200kb+ refl_ pictures.
Title: Re: Imageflow (coverflowish JS animation)
Post by: YBnormal on March 09, 2009, 05:29:48 pm
Have you been able to look into the issue I posted about? No rush, just wondering if you have yet. Thanks.

btw, the same issue occurs with the Slider plug-in on my gallery. I can report it in that topic too if you wish. I'm hoping it's an easy fix, because I really like the looks of both plugins. It would be awesome if they can both cycle through all of my images.
Title: Re: Imageflow (coverflowish JS animation)
Post by: agr8lemon on March 21, 2009, 05:58:56 pm
This may be a little off topic, but what are you using on your demo site to get the slide show effect under the heading Random Files? Is that also Imageflow?

Thank you.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 22, 2009, 11:30:04 pm
I use the following plugins on my demo gallery:
Slider
EnlargeIt!
Imageflow
CompressHTML
Title: Re: Imageflow - slight modification/configuration question
Post by: tripslip38 on March 23, 2009, 05:35:19 pm
This is a great plugin and it is working very well on my site:

http://www.backcountrypilot.org/gallery

I run this in "Last Added" mode. I'd like to set it up so that by default the left-most (and true last added) photo is at the front. In the default state, the center image of the set is at the forefront, but it can be confusing because to get to the actual last added photo, a user must click on the far left thumb which is slightly obscured.

I don't even know where to start to make this mod. Any clues? Timo?

Thanks,
Zane
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on March 23, 2009, 06:29:21 pm
0. Unpack the ZIP file and go to folder js.
1. Delete imageflow.js and imageflowenl.js.
2. Rename imageflow_source.js to imageflow.js and imageflowenl_source.js to imageflowenl.js.
3. Open first imageflow.js and then imageflowenl.js with a text editor.
4. In both cases, find this line
Code: [Select]
cpgif_glideTo( -450, 3);and comment it out like this
Code: [Select]
// cpgif_glideTo( -450, 3);5. Save both files and upload them and you're done.
Title: Re: Imageflow (coverflowish JS animation)
Post by: tripslip38 on March 25, 2009, 02:29:06 am
Excellent. Thanks Timos!

Anyone else making this slightly change can just replace imageflow.js and imageflownl.js with minified versions of the source files for better efficiency. There are many javascript minifiers to be found out there.

Thanks again.
Title: Re: Imageflow (coverflowish JS animation)
Post by: YBnormal on April 06, 2009, 06:54:31 pm
Any ideas on the issue I posted above yet?

Thanks.
Title: Re: Imageflow (coverflowish JS animation)
Post by: albertino on April 15, 2009, 10:27:38 pm
Hello

I've installed Imageflow 2.08 on a Coppermine Photo Gallery 1.4.20, along with Enlargeit 2.15 and Slider 2.15.
I can't see any images, only their names (see Image attached). However if I click on the image area everything else seems to work like it's supose too. See it on

http://fotogaleria.eancascais.net/index.php

Bottom of the page

The gallery is running on a linux machine (Linux server.lizardserver.net 2.6.18-ovz-028stab053.5-enterprise), Apache 1.3.41, PHP 5.2.8,  MySQL   5.0.67, GD version: bundled (2.0.34 Compatible) as stated on PHPinfo (attached)

Can you help please?
Title: Re: Imageflow (coverflowish JS animation)
Post by: albertino on April 18, 2009, 12:23:31 pm
Hello again

Just to post the debug info of the issue stated above

Code: [Select]
==============================================================
USER:
------------------
Array
(
    [ID] => 7b39e565769def8e9835df58d2bec4ce
    [am] => 1
    [lang] => portuguese
    [liv] => Array
        (
            [0] => 355
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => albertino
    [groups] => Array
        (
            [0] => 1
            [1] => 5
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
    [1] => select * from cpg_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg_plugins (0s)
    [3] => SELECT * FROM cpg_mod_imageflow (0s)
    [4] => SELECT * FROM cpg_plugins (0s)
    [5] => SELECT * FROM cpg_plugin_enlargeit (0s)
    [6] => SELECT * FROM cpg_plugins (0s)
    [7] => SELECT * FROM cpg_mod_slider (0s)
    [8] => delete from `adncscom_copp1`.cpg_sessions where time<1240046056 and remember=0; (0s)
    [9] => delete from `adncscom_copp1`.cpg_sessions where time<1238840056; (0s)
    [10] => select user_id from `adncscom_copp1`.cpg_sessions where session_id = 'd6dc0456493a6ebdb87307ee418b58a3' (0s)
    [11] => select user_id as id, user_password as password from `adncscom_copp1`.cpg_users where user_id=2 (0s)
    [12] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `adncscom_copp1`.cpg_users AS u INNER JOIN `adncscom_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' (0s)
    [13] => SELECT user_group_list FROM `adncscom_copp1`.cpg_users AS u WHERE user_id='2' and user_group_list <> ''; (0s)
    [14] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg_usergroups WHERE group_id in (1,5) (0s)
    [15] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
    [16] => update `adncscom_copp1`.cpg_sessions set time='1240049656' where session_id = 'd6dc0456493a6ebdb87307ee418b58a3' (0s)
    [17] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 2 (0s)
    [18] => DELETE FROM cpg_banned WHERE expiry < '2009-04-18 10:14:17' (0s)
    [19] => SELECT * FROM cpg_banned WHERE (ip_addr='77.54.202.170' OR ip_addr='77.54.202.170' OR user_id=2) AND brute_force=0 (0s)
    [20] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = ''  ORDER BY pos (0s)
    [21] => SELECT aid FROM cpg_albums as a WHERE category>=10000 (0s)
    [22] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
    [23] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '1'  ORDER BY pos (0s)
    [24] => SELECT aid FROM cpg_albums WHERE category = 2 (0s)
    [25] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
    [26] => SELECT count(*) FROM cpg_albums as a WHERE category = '2' (0s)
    [27] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,3 (0s)
    [28] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (3, 1, 2)GROUP BY a.aid (0.002s)
    [29] => SELECT pid FROM cpg_pictures WHERE filepath='userpics/3/' AND filename='CIMG3250.JPG' (0.001s)
    [30] => SELECT pid FROM cpg_pictures WHERE filepath='userpics/1/' AND filename='Regata_10-5-2008_-_04.jpg' (0.001s)
    [31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='354' (0s)
    [32] => SELECT pid FROM cpg_pictures WHERE filepath='userpics/2/' AND filename='Regata_14-3-2008_-_131.jpg' (0.001s)
    [33] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '2'  ORDER BY pos (0s)
    [34] => SELECT aid FROM cpg_albums WHERE category = 5 (0s)
    [35] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0s)
    [36] => SELECT count(*) FROM cpg_albums as a WHERE category = '5' (0s)
    [37] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=5 ORDER BY a.pos LIMIT 0,7 (0s)
    [38] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (7, 8, 9, 10, 11, 12, 13)GROUP BY a.aid (0s)
    [39] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '5'  ORDER BY pos (0s)
    [40] => SELECT aid FROM cpg_albums WHERE category = 3 (0s)
    [41] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
    [42] => SELECT count(*) FROM cpg_albums as a WHERE category = '3' (0s)
    [43] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,3 (0s)
    [44] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (4, 5, 6)GROUP BY a.aid (0.002s)
    [45] => SELECT pid FROM cpg_pictures WHERE filepath='userpics/4/' AND filename='IMG_0334.JPG' (0.001s)
    [46] => SELECT pid FROM cpg_pictures WHERE filepath='userpics/5/' AND filename='barcostrad_seixal_2008_095.jpg' (0.001s)
    [47] => SELECT pid FROM cpg_pictures WHERE filepath='userpics/6/' AND filename='Canoagem-Jamor_25_02_09-17.JPG' (0.001s)
    [48] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '3'  ORDER BY pos (0s)
    [49] => SELECT aid FROM cpg_albums as a WHERE category = '0' (0s)
    [50] => SELECT count(*) FROM cpg_albums as a WHERE 1 (0s)
    [51] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
    [52] => SELECT count(*) FROM cpg_comments as c LEFT JOIN cpg_pictures as p ON c.pid=p.pid LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 (0s)
    [53] => SELECT count(*) FROM cpg_categories WHERE 1 (0s)
    [54] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1 (0.001s)
    [55] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.001s)
    [56] => SELECT count(*) FROM cpg_albums as a WHERE category = '0' (0s)
    [57] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES' AND hits > 0    (0.001s)
    [58] => SELECT * FROM cpg_pictures WHERE approved = 'YES'AND hits > 0   ORDER BY hits DESC, filename   LIMIT 0 ,4 (0.002s)
    [59] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'  (0s)
    [60] => SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,4 (0s)
    [61] => SELECT * FROM cpg_pictures AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' AND approved = 'YES'   ORDER BY RAND() LIMIT 15 (0.011s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.8 - OK
------------------
mySQL version: 5.0.67-community-log
------------------
Coppermine version: 1.4.20(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.2
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 60 | 60
max_input_time | 60 | 60
upload_max_filesize | 50M | 50M
post_max_size | 50M | 50M
==========================
Page generated in 0.508 seconds - 62 queries in 0.026 seconds - Album set : ; Meta

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

Best regards


Albertino



Edited: Please, use bbcode to make easier for us to read the post. Insert " [ code] code here [/code ] " when you need to post some code in the forum. - Fabricio Ferrero.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on April 20, 2009, 02:58:39 am
Hi Albertino,

you're using some other mod or plugin that encrypts the direct access to the image files. Imageflow needs this.

Example:
The reflect.php that generates the reflection images should find a pic, something like
albums/folder/picture.jpg
On your gallery, it tries to access something like this instead:
index.php&file=download/picture&pid=265&pr=4eeee07c506efdb52023c9512bfc3ad0&method=fullsize
This doesn't work. Please check your installed plugins and mods.

regards
Timo
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on April 20, 2009, 07:37:46 am
I've installed Imageflow 2.08 on a Coppermine Photo Gallery 1.4.20, along with Enlargeit 2.15 and Slider 2.15.
Then upgrade! Most recent stable release currently is cpg1.4.21

Just to post the debug info of the issue stated above
Nobody asked for that. In the future, please don't.
Title: [SOLVED]Re: Imageflow (coverflowish JS animation)
Post by: albertino on April 20, 2009, 03:38:25 pm
Hello

Thanks for your help.

It was a plugin, "Download and Alternate File Loading", removed it and everything works fine now.


Best regards


Albertino
Title: Re: Imageflow (coverflowish JS animation)
Post by: Fabricio Ferrero on April 20, 2009, 07:02:49 pm
Anyways, you should upgrade immediately as Joachim suggested. Your gallery is totally in risk to be hacked easily.
Title: Re: Imageflow (coverflowish JS animation)
Post by: YBnormal on May 11, 2009, 05:00:29 pm
Thanks for your report, I understand what you mean. I'll have a look into this soon.
Have you had a chance to look into this yet?

Thanks.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on May 11, 2009, 09:33:27 pm
@YBnormal: you bumped your question three times, so it should be obvious that nobody wants to look into your individual issue.
Title: Re: Imageflow (coverflowish JS animation)
Post by: YBnormal on May 11, 2009, 10:52:54 pm
@YBnormal: you bumped your question three times, so it should be obvious that nobody wants to look into your individual issue.
The mod creator stated that he would "look into this soon". I was only reminding him and asking if he had time to check it out.

If he doesn't want to fix the issue then all I need to know is that he won't/can't fix it, and I'll leave you guys alone.

Thanks.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Timos-Welt on May 13, 2009, 11:14:17 am
I will fix this, but I need some more time. Please remember: All developers do this job in their spare time. I can't tell you a release date for a fixed version.
Title: Danish language file for Imageflow
Post by: Mimer on June 01, 2009, 02:33:07 am
Danish language file for Imageflow 2.08.
Revision 1.0

Mimer   8)
Title: Re: Danish language file for Imageflow
Post by: Timos-Welt on June 02, 2009, 12:15:16 am
Danish language file for Imageflow 2.08.
Revision 1.0

Mimer   8)

Thank you very much!
Title: Re: Imageflow (coverflowish JS animation)
Post by: Mimer on June 02, 2009, 12:26:28 am
I'll keep 'em coming.

Mimer  8)
Title: Re: Imageflow (coverflowish JS animation)
Post by: RocketFoot on June 02, 2009, 07:38:46 pm
Hi, I just installed this plugin and all went fine but even after I cleared my cache, I cannot see any images.  Just the background and the slide bar.  Can someone tell me what nOOb error I have commited?  LOL

http://gungallery.webfinitydesign.com/ (http://gungallery.webfinitydesign.com/)

Thanks,
Rocket
Title: Re: Imageflow (coverflowish JS animation)
Post by: RocketFoot on June 03, 2009, 12:37:56 am
Sorry to double post (edit not available) but I have some more info...

The titles do show after I changed the background color...but still no images? 

I have verified that I have GD2 installed on the server and there are no other plugins or mods other than Imageflow, EnlargeIt and Slider.  Everything else is bone stock!  I hope someone can help...I'm running out of hair to pull! 

gungallery.webfinitydesign.com (http://gungallery.webfinitydesign.com)
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on June 03, 2009, 08:54:22 am
Actual link is http://www.bigmacktrucks.com/photogallery/ (no reason to play games when asking for support). Works fine for me (see screenshot) using FF3 on Ubuntu Linux. However, there's too much animation on your page that overloads the browser, it get's slow even on my machine and will surely crash on older or weaker machines. I suggest turning off the Imageflow or the scrolling random block above it. Additionally, you'll have to upgrade your gallery - you're running cpg1.4.20, while the most recent stable release currently is cpg1.4.24 (not related to this thread though).
Title: Re: Imageflow (coverflowish JS animation)
Post by: RocketFoot on June 03, 2009, 01:20:17 pm
Actual link is http://www.bigmacktrucks.com/photogallery/ (no reason to play games when asking for support). Works fine for me (see screenshot) using FF3 on Ubuntu Linux. However, there's too much animation on your page that overloads the browser, it get's slow even on my machine and will surely crash on older or weaker machines. I suggest turning off the Imageflow or the scrolling random block above it. Additionally, you'll have to upgrade your gallery - you're running cpg1.4.20, while the most recent stable release currently is cpg1.4.24 (not related to this thread though).

No games...the link I provided is just the forwarded, masked url. 

I did discover a file last night that should have been set to 777.  After I changed it, it worked fine!

Thanks for the input...I will check into the upgrade.  I installed 1.4.20 from Fantastico on my server.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on June 03, 2009, 01:24:37 pm
[ot]
One of the reasons why we're convinced that Fantastico sucks and why we don't support nor recommend it. Please discuss possible upgrade-related stuff in a separate thread.
[/ot]
Title: Re: Imageflow (coverflowish JS animation)
Post by: Kiwi_Chris on July 03, 2009, 06:26:04 am
Hi everyone I am brand new to coppermine, I am doing my best to read as much as I can about this image flow,
I installed this plugin and read the readme file, but I can not for the life of me figure out why Image Flow shows up with NO Pics.

I have 93 pictures on the site, I did the album list view as suggested, and it does appear just without pictures.

Link to my gallery so you can see what I mean is >>>  http://www.tibiafriends.com/gallery/index.php
no login needed to view.

Any tips of what I could start to look at??
thanks in advance, and I apologize if this has already been covered but its hard so much information, my head now hurts :)

Kind Regards Kiwi Chris.
Title: Re: Imageflow (coverflowish JS animation)
Post by: Kiwi_Chris on July 03, 2009, 08:01:04 am
I think I solved the issue,

which only leads me to my next question,

Can this plugin work with file types other than .jpg???
Title: Re: Imageflow (coverflowish JS animation)
Post by: Kiwi_Chris on July 03, 2009, 08:13:43 am
I managed to force it to find .png
but I am having trouble writing the code to find other types aswell.

eg. .png and .jpg and .gif for examples.

if ($IMAGEFLOWSET['imageflow_album'] == "toprated") {
    $imageflow_query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename like '%.png' AND filename not like 'youtube_%' AND approved = 'YES' $imageflow_FORBIDDEN_SET AND votes >= '{$CONFIG['min_votes_for_rating']}' $META_ALBUM_SET ORDER BY pic_rating DESC, votes DESC, pid DESC LIMIT $imageflowlimit";
  }
 
Title: Re: Imageflow (coverflowish JS animation)
Post by: tomvanhell on September 22, 2009, 12:11:16 pm

hello on my site, http://www.tomnatuurfotografie.nl/gallery/imgflow_external.php
I image flow for external geinstaleerd but I see only text and no pics. What am I doing wrong
Title: Re: Imageflow (coverflowish JS animation)
Post by: Joachim Müller on September 22, 2009, 04:16:09 pm
HTML output looks like this:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
  <head>
    <title>Imageflow for external usage</title> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" title="Standard" href="imgflow_screen.css" type="text/css" media="screen" />
    <script language="JavaScript" type="text/javascript" src="imgflow_imageflow.js"></script>
    <style type="text/css">
      #imageflow{background-color:#000000;width:895px;}
      #imgflowcontainer{margin-top:50px;width:895px;}
      #imgflowslider{background-image:url('imgflow_slider.gif');}
      #imgflowcaptions{color:#ffffff;}
      #imgflowloading{color:#ffffff;}
      body{background-color:#000000;}
    </style>

  </head>
  <body>
      <div id="imgflowcontainer" style="width:895px;">
            <div id="imageflow">
                <div id="imgflowloading">
                  <b>Loading Images</b><br/>
                  <img src="imgflow_loading.gif" width="208" height="13" alt="loading" />
                </div>

                <div id="imgflowimages">
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/vogels/b/normal_boomklever-03.jpg" longdesc="displayimage.php?pos=-73"  alt="040 Boomklever / Nuthatch" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_rij_veluwe221007_5.jpg" longdesc="displayimage.php?pos=-426"  alt="537 Rijp op de Veluwe" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_kneu-05-01.jpg" longdesc="displayimage.php?pos=-529"  alt=" 190 Kneu / Linnet" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_zeehond.jpg" longdesc="displayimage.php?pos=-659"  alt="599 Zeehond / Seal" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/vogels/l/normal_lepelaar02.jpg" longdesc="displayimage.php?pos=-299"  alt="229 Lepelaar / Spoonbill" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_eekhoorn_07_01.jpg" longdesc="displayimage.php?pos=-479"  alt="404 Eekhoorn / Red squirrel 02" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_Smiemt_2006_2.jpg" longdesc="displayimage.php?pos=-424"  alt="291 Smient / Wigeon" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_Wilde_Chogorie.jpg" longdesc="displayimage.php?pos=-464"  alt="469 Wilde Chogorie / 01" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/vogels/K/normal_kneu-03.jpg" longdesc="displayimage.php?pos=-278"  alt="189 Kneu  / Linnet" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_eekhoorn_07_01crop.jpg" longdesc="displayimage.php?pos=-480"  alt="405 Eekhoorn / Red squirrel 01" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/vogels/s/normal_sijs-04.jpg" longdesc="displayimage.php?pos=-332"  alt="284 Sijs / Siskin" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_staartmees_06_01.jpg" longdesc="displayimage.php?pos=-477"  alt="302  Staartmees / Long-tailed Tit" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_06_kuifaalscholver.jpg" longdesc="displayimage.php?pos=-651"  alt="591 Kuifaalscholver / Shag" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_baardman.jpg" longdesc="displayimage.php?pos=-95"  alt="006 Baardman / Bearded tit" />
<img class="imgflowimg" src="imgflow_reflect.php?bgc=000000&amp;procent=0.66&amp;cache=0&amp;img=albums/userpics/10001/normal_hert2008-01.jpg" longdesc="displayimage.php?pos=-553"  alt="377 Edelhert / Red deer" />

</div><div id="imgflowcaptions"></div><div id="imgflowscrollbar"><div id="imgflowslider"></div></div></div></div><!-- End Imageflow PlugIn -->
</body></html>
Blind guess is that you haven't set up your Coppermine URL properly.
Title: Re: Imageflow (coverflowish JS animation)
Post by: tomvanhell on September 22, 2009, 09:09:04 pm
Coppermine URL in the config in de admin mod or in imgflow_external.php?

in the config i have: http://www.tomnatuurfotografie.nl/gallery/

in imgflow_external.php the setting see  zipfile

Title: Re: Imageflow (coverflowish JS animation)
Post by: tomvanhell on September 24, 2009, 03:34:00 pm
can nobody help me 
Title: Re: Imageflow (coverflowish JS animation)
Post by: tomvanhell on October 01, 2009, 09:39:23 am
This was the problem   

$imageflow_file="albums/".$imageflow_row['filepath'].$CONFIG['normal_pfx'].$imageflow_row['filename'];

and change to
Code:

$imageflow_file="albums/".$imageflow_row['filepath'].$imageflow_row['filename'];
Title: Re: Imageflow (coverflowish JS animation)
Post by: tomvanhell on October 01, 2009, 10:03:22 am
I'm sorry I'm not good at English and can not find it. Can I ImageFlow external ProGamer so that when I click on a picture and keep the same window and the photo in enlargelt loaded word. My site is http://www.tomnatuurfotografie.nl/gallery/imgflow_external.php and  http://www.tomnatuurfotografie.nl/gallery
Title: Re: Imageflow (coverflowish JS animation)
Post by: livestudio on April 16, 2010, 11:42:54 am
Thank you very much for your great works.
The plugin work well on my site.

But I want to show the imageflow in the index page only,I dont how to do it.

How can I to do?

Thanks!
Title: Re: Imageflow (coverflowish JS animation)
Post by: espeed3 on May 11, 2010, 05:41:38 pm
i am having an issue defining the height of this plugin.  i see some earlier posts about this problem but no resolutions?  my current gallery in dev is


http://media.bestkiteboarding.com/gallery/index.php

is it possible to have this plugin run as the header of the page? 
Title: Re: Imageflow (coverflowish JS animation)
Post by: tarentaise on August 15, 2011, 10:40:07 pm
Bonjour,
je me permet de relancer la discussion et je m'excuse pour mon anglais pas très bon.
Je viens de découvrir le fichier "imgflow_external.php" et il corresponds presqu'à mon attente.
Je voudrais juste savoir comment faire pour afficher les cinq derniers albums en utilisant une de leur photo et en affichant le nom de l'album sous la photo.
D'avance merci .....

Code: [Select]
<?php
/**************************************************
  Coppermine 1.4.x Plugin - Imageflow v1.2
  *************************************************
  Copyright (c) 2008 Timos-Welt (www.timos-welt.de)
  *************************************************
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  **************************************************/
 
/* Things you may change */

$imageflow_bgcolor      "000000";         // background color; use hex format without leading '#'
$imageflow_width        "350px";          // either use pixel (800px) or percent (50%)
$imageflow_topcorrect   50;               // correct top border of animation 
                                            // (negative values = move to top, positive values = move to bottom)
$imageflow_align        "center";           // allowed: "center" or "left"
$imageflow_intable      1;                // leave this set to 1 normally
$imageflow_numberofpics 5;               // number of random images to select from CPG database
$imageflow_skipportait  0;                // set to 1 if you only want pics where width>height
$imageflow_procent      1;             // The factor that the generated reflexion images are smaller than 
                                            // the intermediate size pictures of your gallery. 1.0 means, they
                                            // have the original size. 0.5 means, they are half as big.
$imageflow_fontcolor    "ffffff";         // font color for captions; use hex format without leading '#'
$imageflow_loading      "Loading Images"// Message displayed while loading



/* Please don't change anything below */
 
echo <<<EOS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
  <head>
    <title>Imageflow for external usage</title>  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

EOS;

define('IN_COPPERMINE'true);
global 
$CONFIG$FORBIDDEN_SET$imageflow_row;
require_once(
'./include/init.inc.php');


echo <<<EOS
    <link rel="stylesheet" title="Standard" href="imgflow_screen.css" type="text/css" media="screen" />
    <script language="JavaScript" type="text/javascript" src="imgflow_imageflow.js"></script>
    <style type="text/css">

EOS;
echo 
"      #imageflow{background-color:#".$imageflow_bgcolor.";width:".$imageflow_width.";}\n";
echo 
"      #imgflowcontainer{margin-top:".$imageflow_topcorrect."px;width:".$imageflow_width.";}\n";
echo 
"      #imgflowslider{background-image:url('imgflow_slider.gif');}\n";
echo 
"      #imgflowcaptions{color:#".$imageflow_fontcolor.";}\n";
echo 
"      #imgflowloading{color:#".$imageflow_fontcolor.";}\n";
echo 
"      body{background-color:#".$imageflow_bgcolor.";}\n";
echo 
"    </style>\n";
echo 
"  </head>\n";
echo 
"  <body>\n";
if (
$imageflow_align == "center") echo "   <center>\n";
if (
$imageflow_intable) echo "      <div id=\"imgflowcontainer\" style=\"width:".$imageflow_width.";\">\n";
echo 
"            <div id=\"imageflow\">\n";
echo 
"                <div id=\"imgflowloading\">\n";
echo 
"                  <b>".$imageflow_loading."</b><br/>\n";
echo 
"                  <img src=\"imgflow_loading.gif\" width=\"208\" height=\"13\" alt=\"loading\" />\n";
echo 
"                </div>\n";
echo 
"                <div id=\"imgflowimages\">\n";

  
// maximum pics to show
  
$imageflowlimit=$imageflow_numberofpics;
  
// request of your database
  
$imageflow_pics='';
  
$imageflow_FORBIDDEN_SET "";
  if (
$FORBIDDEN_SET != ""$imageflow_FORBIDDEN_SET "AND $FORBIDDEN_SET";
  
$imageflow_query "SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' AND approved = 'YES' $imageflow_FORBIDDEN_SET ORDER BY RAND() LIMIT $imageflowlimit";
  
// result of request
  
$imageflow_result cpg_db_query($imageflow_query);
  
// For reading result
  
$imageflow_rowset = array();
  
// Index of tab
  
$i=0;
  
// max height : will be 75px or 100px
  
$max_height=0;
  
// For each pic.....building javascript in php
  
while($imageflow_row mysql_fetch_array($imageflow_result)){
    if ((
$imageflow_skipportrait == 0) || ($imageflow_row['pwidth'] > $imageflow_row['pheight'])) {
      
// reading pid of pic
      
$imageflow_key=$imageflow_row['pid'];
      
// reading height of pic
      
$imageflow_image_size compute_img_size($imageflow_row['pwidth'], $imageflow_row['pheight'], $CONFIG['thumb_width']);
    
// path of pic
    
$imageflow_file="albums/".$imageflow_row['filepath']."normal_".$imageflow_row['filename'];
    
// link of pic
    
$imageflow_lien="<img class=\"imgflowimg\" src=\"imgflow_reflect.php?bgc=".$imageflow_bgcolor."&amp;procent=".$imageflow_procent."&amp;cache=0&amp;img=".$imageflow_file."\" longdesc=\"thumbnails.php?album=".$imageflow_row['aid']."\"  alt=\"".$imageflow_row['caption']."\" />";
    
// building javascript code
    
$imageflow_pics .= $imageflow_lien."\n";
    
$i=$i+1;
    }
  }
  
// free memory
  
mysql_free_result($imageflow_result);
  echo 
$imageflow_pics;

echo 
"</div><div id=\"imgflowcaptions\"></div><div id=\"imgflowscrollbar\"><div id=\"imgflowslider\"></div></div></div>";

            if (
$imageflow_intable) echo "</div>";

if (
$imageflow_align == "center") { echo "</center>
"
; }
echo 
"<!-- End Imageflow PlugIn -->\n";
echo 
"</body>";
echo 
"</html>";
?>

Title: Re: Imageflow (coverflowish JS animation)
Post by: tarentaise on August 15, 2011, 10:42:13 pm
Hello,
I used to stimulate discussion and I apologize for my English not very good.
I just found the file "imgflow_external.php" and it corresponds almost to my expectations.
I just want to know how to display the last five albums using their picture and displaying the album name under the photo.
In advance thank you .....

Code: [Select]
<?php
/**************************************************
  Coppermine 1.4.x Plugin - Imageflow v1.2
  *************************************************
  Copyright (c) 2008 Timos-Welt (www.timos-welt.de)
  *************************************************
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  **************************************************/
 
/* Things you may change */

$imageflow_bgcolor      "000000";         // background color; use hex format without leading '#'
$imageflow_width        "350px";          // either use pixel (800px) or percent (50%)
$imageflow_topcorrect   50;               // correct top border of animation 
                                            // (negative values = move to top, positive values = move to bottom)
$imageflow_align        "center";           // allowed: "center" or "left"
$imageflow_intable      1;                // leave this set to 1 normally
$imageflow_numberofpics 5;               // number of random images to select from CPG database
$imageflow_skipportait  0;                // set to 1 if you only want pics where width>height
$imageflow_procent      1;             // The factor that the generated reflexion images are smaller than 
                                            // the intermediate size pictures of your gallery. 1.0 means, they
                                            // have the original size. 0.5 means, they are half as big.
$imageflow_fontcolor    "ffffff";         // font color for captions; use hex format without leading '#'
$imageflow_loading      "Loading Images"// Message displayed while loading



/* Please don't change anything below */
 
echo <<<EOS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
  <head>
    <title>Imageflow for external usage</title>  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

EOS;

define('IN_COPPERMINE'true);
global 
$CONFIG$FORBIDDEN_SET$imageflow_row;
require_once(
'./include/init.inc.php');


echo <<<EOS
    <link rel="stylesheet" title="Standard" href="imgflow_screen.css" type="text/css" media="screen" />
    <script language="JavaScript" type="text/javascript" src="imgflow_imageflow.js"></script>
    <style type="text/css">

EOS;
echo 
"      #imageflow{background-color:#".$imageflow_bgcolor.";width:".$imageflow_width.";}\n";
echo 
"      #imgflowcontainer{margin-top:".$imageflow_topcorrect."px;width:".$imageflow_width.";}\n";
echo 
"      #imgflowslider{background-image:url('imgflow_slider.gif');}\n";
echo 
"      #imgflowcaptions{color:#".$imageflow_fontcolor.";}\n";
echo 
"      #imgflowloading{color:#".$imageflow_fontcolor.";}\n";
echo 
"      body{background-color:#".$imageflow_bgcolor.";}\n";
echo 
"    </style>\n";
echo 
"  </head>\n";
echo 
"  <body>\n";
if (
$imageflow_align == "center") echo "   <center>\n";
if (
$imageflow_intable) echo "      <div id=\"imgflowcontainer\" style=\"width:".$imageflow_width.";\">\n";
echo 
"            <div id=\"imageflow\">\n";
echo 
"                <div id=\"imgflowloading\">\n";
echo 
"                  <b>".$imageflow_loading."</b><br/>\n";
echo 
"                  <img src=\"imgflow_loading.gif\" width=\"208\" height=\"13\" alt=\"loading\" />\n";
echo 
"                </div>\n";
echo 
"                <div id=\"imgflowimages\">\n";

  
// maximum pics to show
  
$imageflowlimit=$imageflow_numberofpics;
  
// request of your database
  
$imageflow_pics='';
  
$imageflow_FORBIDDEN_SET "";
  if (
$FORBIDDEN_SET != ""$imageflow_FORBIDDEN_SET "AND $FORBIDDEN_SET";
  
$imageflow_query "SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' AND approved = 'YES' $imageflow_FORBIDDEN_SET ORDER BY RAND() LIMIT $imageflowlimit";
  
// result of request
  
$imageflow_result cpg_db_query($imageflow_query);
  
// For reading result
  
$imageflow_rowset = array();
  
// Index of tab
  
$i=0;
  
// max height : will be 75px or 100px
  
$max_height=0;
  
// For each pic.....building javascript in php
  
while($imageflow_row mysql_fetch_array($imageflow_result)){
    if ((
$imageflow_skipportrait == 0) || ($imageflow_row['pwidth'] > $imageflow_row['pheight'])) {
      
// reading pid of pic
      
$imageflow_key=$imageflow_row['pid'];
      
// reading height of pic
      
$imageflow_image_size compute_img_size($imageflow_row['pwidth'], $imageflow_row['pheight'], $CONFIG['thumb_width']);
    
// path of pic
    
$imageflow_file="albums/".$imageflow_row['filepath']."normal_".$imageflow_row['filename'];
    
// link of pic
    
$imageflow_lien="<img class=\"imgflowimg\" src=\"imgflow_reflect.php?bgc=".$imageflow_bgcolor."&amp;procent=".$imageflow_procent."&amp;cache=0&amp;img=".$imageflow_file."\" longdesc=\"thumbnails.php?album=".$imageflow_row['aid']."\"  alt=\"".$imageflow_row['caption']."\" />";
    
// building javascript code
    
$imageflow_pics .= $imageflow_lien."\n";
    
$i=$i+1;
    }
  }
  
// free memory
  
mysql_free_result($imageflow_result);
  echo 
$imageflow_pics;

echo 
"</div><div id=\"imgflowcaptions\"></div><div id=\"imgflowscrollbar\"><div id=\"imgflowslider\"></div></div></div>";

            if (
$imageflow_intable) echo "</div>";

if (
$imageflow_align == "center") { echo "</center>
"
; }
echo 
"<!-- End Imageflow PlugIn -->\n";
echo 
"</body>";
echo 
"</html>";
?>