ImageFlow in CP Images special

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

ImageFlow in CP Images special

Post by Heiko H. »

Hi there,
I was playing around with the CP "Images special" for a comming project.

I have integratet ImageFlow with the help of this CP.
You can see a demo here (only a tryout-cms!!!).

How To:

Download this and unzip it to your cms root (no files will be overwritten!)

Create a CP "images special".

Choose ImageFlow.tmpl as template.
Don't select lightbox option this is not working at the moment ! :oops: (JS-Collision)

Image

Choose the images you want to show in imageFlow, add a caption if you want.

Image

Save.
That's it.

The css-file is there: template/inc_css/imageflow/screen.css
[EDIT]
needs GD v. 2.0.1 or higher
ImageFlow v0.9 is now included in zip file

Make sure [PHP]...[/PHP] RT is switched on in config.inc.php

Code: Select all

$phpwcms['allow_cntPHP_rt']   = 1; //allow PHP replacement tags and includes in content parts
!!! ATTENTION !!!
ImageFlow is since v.1.x not for free in commercial Websites!
http://finnrudolph.de/ImageFlow/Download
[/EDIT]

Enjoy, Heiko...
Last edited by Heiko H. on Tue 24. Nov 2009, 15:46, edited 7 times in total.
Not longer here - sorry...

Haubner-IT GbR Dresden
User avatar
G-Punkt
Posts: 166
Joined: Wed 28. Nov 2007, 16:31
Location: Stadt Creußen
Contact:

Re: LightFlow in CP Images special

Post by G-Punkt »

...was für ein Zufall, gerade erst habe ich mit ImageFlow (und Highslide, Lightflow,...) rumgespielt und dann kommst Du und zeigst mir (uns), wie ich (wir) es in phpwcms einbauen kann (können)... :D :D :D

Sehr schön, vielen Dank

Grüße
Michael
zuker
Posts: 80
Joined: Fri 18. May 2007, 17:13
Location: Lithuania

Re: LightFlow in CP Images special

Post by zuker »

Well done Heiko, nice hack.

Two questions
1. Is it possible somehow to make image flow not from the firs but from the third or fifth or... picture. I’d like to get symmetrical view of lined pictures on screen after loading.
2. How to force open pictures in a blank frame when ‘click enlarge’ is marked.
٩(͡๏̯͡๏)۶
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Re: ImageFlow in CP Images special

Post by Heiko H. »

Hi zucker,
zuker wrote:Well done Heiko, nice hack.
No, it is not a hack! No core-code is edited :idea:
zuker wrote:Is it possible somehow to make image flow not from the firs but from the third or fifth or... picture.
Add the following to template/inc_js/imageflow/imageflow.js after

Code: Select all

window.onload = function()
{
	if(document.getElementById(conf_imageflow))
	{
		hide(conf_loading);
		refresh(true);
		show(conf_images);
		show(conf_scrollbar);
		initMouseWheel();
		initMouseDrag();
this, near line 290

Code: Select all

		glideTo( -450, 3)
glideTo( -150, 1) --> 2. image
glideTo( -300, 2) --> 3. image
glideTo( -450, 3) --> 4. image
... and so on.
zuker wrote:How to force open pictures in a blank frame when ‘click enlarge’ is marked.
I have to make some tests... but im not in time at the moment, sorry...

Heiko
Last edited by Heiko H. on Fri 7. Mar 2008, 18:56, edited 2 times in total.
Not longer here - sorry...

Haubner-IT GbR Dresden
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: LightFlow in CP Images special

Post by baklavoni »

Heiko,
this looks so gooooood.

Gonna implement it.

Thanks

EDIT:

Just test it...
Not working. I cannot find ImageFlow.tmpl in CP images <div>.

I uploaded everything in root of my phpwcms.
Version 1.3.3.
There is no page like home page...
zuker
Posts: 80
Joined: Fri 18. May 2007, 17:13
Location: Lithuania

Re: LightFlow in CP Images special

Post by zuker »

Hi baklavoni,

I have tested, LightFlow in CP Images special works fine.
You should use CP images special instead of CP images <div>.
But CP images special is implemented only in 1.3.5 version (look for the latest snapshot 2007/12/05 )


zucker
٩(͡๏̯͡๏)۶
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Re: LightFlow in CP Images special

Post by sustia »

Hi, I receive an error like you can see here:

http://www.angelosignore.it/index.php?prova
Campeones del mundo!
Vegetables!
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: LightFlow in CP Images special

Post by baklavoni »

zuker wrote:Hi baklavoni,

I have tested, LightFlow in CP Images special works fine.
You should use CP images special instead of CP images <div>.
But CP images special is implemented only in 1.3.5 version (look for the latest snapshot 2007/12/05 )


zucker
Thanks for the info.
I'll stick to 1.3.3. Don't want to switch to "unstable" version. 8)
This LightFlow is really attractive effect, and as soon as 1.3.5 becomes stable, I'll implement it.

Thanks!
:D
There is no page like home page...
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Re: ImageFlow in CP Images special

Post by Heiko H. »

sustia wrote:Hi, I receive an error like you can see here:

http://www.angelosignore.it/index.php?prova
Looks like [PHP]...[/PHP] RT is switched off in config.inc.php

Code: Select all

$phpwcms['allow_cntPHP_rt']   = 1; //allow PHP replacement tags and includes in content parts
Heiko...
Last edited by Heiko H. on Mon 15. Dec 2008, 18:03, edited 2 times in total.
Not longer here - sorry...

Haubner-IT GbR Dresden
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Re: LightFlow in CP Images special

Post by sustia »

Heiko H. wrote:
Looks like [PHP]...[/PHP] RT is switched off in config.inc.php

Code: Select all

$phpwcms['allow_cntPHP_rt']   = 1; //allow PHP replacement tags and includes in content parts
Heiko...
That's it, thanks.
Campeones del mundo!
Vegetables!
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Re: ImageFlow in CP Images special

Post by daniel.grant »

Nice one Heiko.

However, looks bad in Safari
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: ImageFlow in CP Images special

Post by flip-flop »

This too? -> khbi.de/index.php?innenraeume :?:
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Re: ImageFlow in CP Images special

Post by Heiko H. »

daniel.grant wrote:However, looks bad in Safari
Hi Daniel,

what means "bad"?
http://browsershots.org/http://www.haub ... Flow.phtml
Here I can see no problems on Safari :? ,
only on old IE's and some other old browsers... (not interesting :wink: )

Or, is the sliderfuction not working?
I have testet Safari for Win (3.0.4Beta) (I don't have no Mac's) all was okay... :roll:

Heiko
Last edited by Heiko H. on Fri 7. Mar 2008, 18:22, edited 1 time in total.
Not longer here - sorry...

Haubner-IT GbR Dresden
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Re: ImageFlow in CP Images special

Post by Heiko H. »

double post :oops:
Last edited by Heiko H. on Fri 7. Mar 2008, 18:23, edited 1 time in total.
Not longer here - sorry...

Haubner-IT GbR Dresden
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Re: ImageFlow in CP Images special

Post by Heiko H. »

zuker wrote:2. How to force open pictures in a blank frame when ‘click enlarge’ is marked.
@zucker
Please contact flip-flop for a popup in a new frame.
Hi already made this.

Heiko.
Not longer here - sorry...

Haubner-IT GbR Dresden
Post Reply