forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: Sami on September 23, 2006, 05:10:47 pm

Title: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 23, 2006, 05:10:47 pm
Highslide ver2.3

New version by Timos-Welt please check it here:Highslide ver3.03 (http://forum.coppermine-gallery.net/index.php/topic,36558.msg249466.html#msg249466)

Plugin:
=======
Use this plugin to directly show your full/intermediate image by click on thumbnails
It will display full/intermediate  image under nice rounded boarder on current page

Licence:
=======
From original creator of highslide.js (http://vikjavev.no/highslide/) library (Torstein Hønsi)
Free for non-commercial use
$30 each domain for commercial sites
It means that if you are using this plugin for commercial site then you should pay 30$ for each Domain to Torstein Hønsi (http://vikjavev.no/highslide/#licence)


Install:
=======
- Unzip package to plugins folder and use plugin manager to install it


Features:
==========
v2.0 - 2006/09/27 - 5:10 GMT
- Has it's own Control panel on admin mode
- Option to set boredr style (4 new style added)
- Option to disable it under admin mode
- Option to add a link to intermadiate page (look to lang/english.php for changing the name of link)
- Multi-language
v2.1 - 2006/09/28 - 8:10 GMT
- Option to add close link to caption
- Option to select which image to show under slide (intermadiate / full)
- Option to select where should apply the plugin (index & meta albums / all pages)
- French language Added (Thanks to Pyap)
v2.2 - 2006/10/02 - 4:15 GMT
- Works with custom thumbnails
- Option to SEF compatibility
- Italian language Added (Thanks to lontano)


[Update]

v2.3 - 2006/10/15 - 07:45 GMT


New features:
=============
- Valid XHTML
- Option to add Title to caption
- Spanish language Added (Thanks to Quinti)
- Custom loading title ( could be set on lang file ) - suggested by Quinti
- Custom restore title ( could be set on lang file ) - suggested by Quinti
- Custom cancel loading title ( could be set on lang file )
- Better config !


Next release will have:
=======================
- Option to add more HTML code to caption


Fixes:
=======
- Some typos on lang file fixes


Known Issue:
=======
- Image view will not count
- Will not work if you have custom title on thumbnails!

Demo here (http://lab.kishmate.com/gallery144/index.php)

Hope you enjoy it...
Sami

Highslide ver3.04 (http://forum.coppermine-gallery.net/index.php/topic,36558.msg260115.html#msg260115)
Released By:Timos-Welt


[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_highslide_v3.5.zip/download
[/Edit]
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Tranz on September 23, 2006, 05:47:30 pm
Hi Sami,

I got the error message at the top of my gallery when I installed the plugin:
Quote
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of preg_match_all(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in C:\wamp\websites\takethu\plugins\highslide\codebase.php on line 166

Here's the code in question:
Code: [Select]
preg_match_all($exper, $html,&$matches,PREG_SET_ORDER);
  foreach($matches as $match) {
$html = str_ireplace($match[0],'<a href="'.$match[2].$match[3].'" class="highslide" onclick="return hs.expand(this)">',$html);
  }

Thanks.
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 23, 2006, 05:54:48 pm
try new one ;)
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 24, 2006, 03:47:23 pm
Annocement:
New version with bug fixed , released
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: rphMedia on September 24, 2006, 04:12:16 pm
Sami, when I click my thumbnails, I get a new (IE) window with the image (not the slide, same window effect).

Also, anything other than images, the links are broken.  You can check my sample gallery in my profile.
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 24, 2006, 04:22:42 pm
Ron You have javascript conflict
Sorry but I can't find it under 6041 lines of code !
Man you have realy huge javascript file , I've never seen such file :o

[Edit:]
BTW make sure that you have upload all the files correctly
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: rphMedia on September 24, 2006, 04:33:38 pm
So, I guess I have to choose what I want, your plugin, or that custom theme, hm.. I want them both  :'(


Thanks.
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 24, 2006, 04:36:35 pm
Yes your custom theme has a JS conflict with Highslide !
Sorry man
here is the prove ::)
http://gallery.rphmedia.net/?theme=classic
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: rphMedia on September 24, 2006, 04:44:26 pm
Yeah, I know, I changed the theme and the window portion started working.

It still doesn't like other file types.  Just for info.  Love the plugin !

Edit: Firefox doesn't like the script - just hangs on click.
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 24, 2006, 05:35:41 pm
It's working fine for me (with both IE & FF ) on your site!!!
what version of FF do you have?
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: rphMedia on September 24, 2006, 05:41:21 pm
Firefox Version 1.5.0.7
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 24, 2006, 05:47:17 pm
It's strange I use same version and it's working for me !!!
Also plugin only work with image file and if you click on a non-image file it just showing "loading" pic and nothing happen
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Tranz on September 24, 2006, 05:57:55 pm
Sami, what I did in my mod was use the function to determine if we're dealing with an image file. If yes, do the highslide thing. If not, do the usual thing.
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 24, 2006, 05:59:36 pm
Thanks Thu ,
I'll see what I can do :)
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: rphMedia on September 24, 2006, 06:03:53 pm
Here's what FF tells me.
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 24, 2006, 06:11:25 pm
Those are style error , some of those style are for IE and Some for Opera so FF did not reconize them
it's safe ... just ignore them
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 24, 2006, 06:37:16 pm
New version with fixed for non-image type thumbnail released
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: rphMedia on September 26, 2006, 10:37:03 am
New version with fixed for non-image type thumbnail released

Sami,

It seems to recognize Flash files now, but it still wants to apply effect to zip files and hangs.  Haven't checked any other formats, though - movies, docs, etc....).

PS; Are you developing this further? - example, the option to navigate to the intermediate image page or adding descriptions, etc..., sort of like 'TranzDances' example? (http://forum.coppermine-gallery.net/index.php?topic=34360.msg170610#msg170610) And no rush or anything, I'm just wondering.
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 26, 2006, 11:04:30 am
It seems to recognize Flash files now, but it still wants to apply effect to zip files and hangs.  Haven't checked any other formats, though - movies, docs, etc....).
I'll check that thanks for pointing that out :)

PS; Are you developing this further? - example, the option to navigate to the intermediate image page or adding descriptions, etc..., sort of like 'TranzDances' example? (http://forum.coppermine-gallery.net/index.php?topic=34360.msg170610#msg170610) And no rush or anything, I'm just wondering.
Yes
 I'll post new version to day with admin control panel and caption (link to intermadiate+file name ,etc...) options
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: rphMedia on September 26, 2006, 11:50:56 am
I'll post new version to day with admin control panel and caption (link to intermadiate+file name ,etc...) options

Fantastic !  Let me know if I can help in any way.

I still can't get it to work in my Firefox browser for some reason, but this is definitely my problem, my end.
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 27, 2006, 07:43:06 am
New version with Admin Control panel and new feature
check the first post for more ...
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: rphMedia on September 27, 2006, 09:41:04 am
Works 'out of the box' :)

Still hangs at the non-image types (zips, and I even tried a movie/wmv).  I don't know if it needs an exception list as much as an "image include" config of sort. 

Looking forward to the new versions Sami, great work !
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 27, 2006, 10:16:44 am
Thanks Ron for feedback
plugin will check the url of file so if it was started by album it will apply the Jscript and if it was started with images it will ignore it
You've custom thumbnail for those file and you store it under album folder , so plugin take it as a image file !
Do you have any idea for how should I check this , I've access to the url only (may be I should try is_image() function ;) )
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Pascal YAP on September 27, 2006, 11:13:48 am
Thanx again Sami for this new great Plugin  ;D

Produce a pretty nice effect on my INDEX.PHP (here) (http://).
But unfortunately, only on INDEX !  ???
No other page can produce HighSlide effect  :-[ Here for exemple (http://www.pays-dignois.com/galerie/thumbnails.php?album=27).
I do'nt know why, maybe on THUMBNAILS Class !
There is no error message nowhere  ???

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: Sami on September 27, 2006, 03:44:36 pm
Sorry Pyap I can't find the problem on your thumbnails page but I'm sure it is because some customization that you have on that page

[Update]
I've found it ... I'll fix it ...soon ;)

Off Topic :
You are so Hot ,Don't burn your self !!!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 27, 2006, 04:00:33 pm
Here is the quick fix for it until new release ;)
under codebase.php on line 284 replace this code:
Code: [Select]
$exper = '#<!-- BEGIN hs_thumb_cell_init -->\s*<a\s*href=\"(displayimage\.php\?album=.+cat=.+pos=.+)\">\s*<img\s*src=\"(.*?)thumb_(.*?)\"\s*class=\"(.*?)\"\s*width=\"(.*?)\"\s*height=\"(.*?)\"\s*border=\".*?\"\s*alt=\"(.*?)\"\s*title=\"(.*\n.*\n.*\n.*?)\"\s*/><!-- END hs_thumb_cell_init -->#i';
with this
Code: [Select]
$exper = '#<!-- BEGIN hs_thumb_cell_init -->\s*<a\s*href=\"(displayimage\.php\?.*)\">\s*<img\s*src=\"(.*?)thumb_(.*?)\"\s*class=\"(.*?)\"\s*width=\"(.*?)\"\s*height=\"(.*?)\"\s*border=\".*?\"\s*alt=\"(.*?)\"\s*title=\"(.*\n.*\n.*\n.*?)\"\s*/><!-- END hs_thumb_cell_init -->#i';
Hope it work for you ...
BTW thank you for feedback
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on September 27, 2006, 04:49:17 pm
Borzoo,

Quote
You are so Hot ,Don't burn your self !!!
[OoT] ;D do'nt worry ! i'm OK  ;)  [/OoT]

Here's FRENCH.PHP for HighSlide Plugin.
But around line 51 : 'Dispaly_Title_Caption'=>
It's "Display" is'nt it ?

For French Users, copy this code, save as french.php indide /plugins/hightslide/lang/
Code: [Select]
<?php
/**************************************************
  Coppermine 1.4.x Plugin - HighSlide
  *************************************************
  Copyright (c) 2006 Borzoo Mossavari
  Translate to French by PYAP
  *************************************************
  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.
  *************************************************
  Skip Intermediate Page and show full page on the page
  Based on Highslide JS @ http://vikjavev.no/highslide/ 
  ***************************************************/

if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...'); }

// Lang setting for installation process
$lang_plugin_highslide_install = array(
  
'button_install'=> 'Installez',
  
'button_submit' => 'Envoyez',
  
'button_cancel' => 'Annulez',
  
'button_done'   => 'Fait',
  
'cleanup_question' => 'Voulez-vous supprimer la Table MySQL correspondant au stockage de vos reglages ?',
  
'install_note'  => 'Configurez ce plugin en utilisant la barre d Admin.', // Note about configuring plugin
  
'install_click' => 'Cliquez ce bouton pour installer le plugin.', // Message to install plugin
);

// Lang setting for Caption
$lang_plugin_highslide = array( 
'detail'       => 'Detail'// Lable of the link to intermadiate image
'close'        => 'Fermez'// Lable of the close link
'title'        => 'Titre'// Lable of the title
);
//Lang setting for configuration and admin panel
$lang_plugin_highslide_config = array(
  
'display_name'  => 'HighSlide', // Display Name
  
'config_title'  => 'Configurez HighSlide', // Title of the button on the gallery config menu
  
'config_button' => 'HighSlide', // Label of the button on the gallery config menu
  
'page_success'  => 'Reglages Configuration a jour.', // Page success message
  
'page_failure'  => 'IMPOSSIBLE de mettre a jour vos reglages !!!', // Page failure message
  
'version'       => 'Ver 2.0'// HS 2.0
  
'pluginmanager' => 'Plugin Manager',
  
'expand_all'    => 'Depliez tout',
  
'main_title'    => 'HighSlide plugin Config',
  
'Style_of_border'   => 'Style de Bordure : ',
  
'Disable_Admin_Mode'=> 'Ne pas demarrer le Plugin pendant le Mode Admin : ',
  
'Link_To_intermadiate'=> 'Liez vers les intermediaires :',
  
'Link_for_Closing'=> 'Lien pour fermer : ',
  
'Dispaly_Title_Caption'=> 'Affichez le Titre comme legende : ',
  
'Custom_HTML_Caption'=> 'HTML perso comme legende : ',
  
'Yes' => 'Oui',
  
'No' => 'Non',
  
'Wrob'=> 'Bord exterieur arrondi',
  
'W10b'=> 'Bord Blanc de 10px',
  
'Ogb'=> 'Bord exterieur diffu (glow)',
  
'Nob'=> 'Pas de bord exterieur',
  
'Nb'=> 'Pas de bord',
  
'note1' => 'Ces options ne sont pas encore disponibles !!!',
);
?>

Not try your quick fix yet !

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on September 27, 2006, 05:23:15 pm
Borzoo,

I'd try your quick fix with success  ;D
All Albums use HighSlide now (http://www.pays-dignois.com/galerie/thumbnails.php?album=2).

But finally, i prefer this plugin before the quick fix. Only because HighSlide do not count clicks at all !
Then in fact this first issue, was'nt an issue but a new request  ;D
It would be nice to have this two possibility inside HighSlide Config  ;)

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 27, 2006, 05:28:51 pm
Thank you for lang file I'll add it to next version
I'll add a new option (apply to index only ) , would you translate it too ::)
and thanks for typo ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on September 27, 2006, 05:34:08 pm
"apply to index only" ==> "Appliquez uniquement sur la page INDEX"

and maybe : "apply on all pages" ==>"Appliquez sur toutes les pages"

Thanx

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: kelizabeth on September 27, 2006, 10:17:35 pm
When I try to install the plugin, I get this:
Code: [Select]
Fatal error: hs_install(): Failed opening required 'plugins/highslide/include/init.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/endocent/public_html/2006/plugins/highslide/codebase.php on line 33
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: kelizabeth on September 27, 2006, 10:30:22 pm
[edit]
I take the last reply back.

meanwhile, the plugin only seems to be working on the index page, not the album pages...
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 28, 2006, 06:58:19 am
take a look at the fix that I posted 6 post before this post
http://forum.coppermine-gallery.net/index.php?topic=36558.msg172554#msg172554
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on September 28, 2006, 12:30:44 pm
Morning,

For French users only  ;) (French Board (http://forum.coppermine-gallery.net/index.php?board=38.0))
http://forum.coppermine-gallery.net/index.php?topic=36733.0

Thanx again

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Gizmo on September 28, 2006, 01:35:06 pm
Hey Sami, very cool plugin. I had seen you were creating a plugin back in the Modifications/Add-Ons/Hacks board and kept looking there for it. Never thought to check out this board... duh...  :P. I works great on most themes but as we come to expect about javascript there's a conflict with LightBox JS for the fullsize popup. Not a problem though as most people will only use one method (unless they're game for a lot of conflict issues!  ;)).

My suggestion would be a setting in the control panel to toggle the popup to be either the intermediate or fullsize. I say this because some people have very large fullsize photos and it could take time loading them even though they are sized to fit the browser window. Also, people who want to sale photos (and we know there's lots of them from the paypal thread) will most likely watermark the fullsize image and make the intermediate image low resolution without a watermark. I do this because I want people to have an idea of what the actual photo looks like without the mark in the middle.

Thanks again.

Gizmo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on September 28, 2006, 02:03:32 pm
Gizmo, Sami,
Quote
I say this because some people have very large fullsize photos and it could take time loading them even though they are sized to fit the browser window.
Real. I agree  ;D

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 28, 2006, 04:04:13 pm
@Gizmo : Thanks for suggestion
@Pyap : Thanks for translation and agreement ! ;)
@All:  I'll release new version soon , then
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 28, 2006, 11:10:41 pm
New version with both Gizmo & Pyap sugestions applied , released (check the first post)

@Pyap:The french lang file is included , but I'm sure that you can translate it really better than Google ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on September 28, 2006, 11:22:38 pm
Borzoo,

Quote
Pyap sugestions applied
Fine ! Thanx  ;D

Quote
The french lang file is included , but I'm sure that you can translate it really better than Google
Yes ! For sure ! But i'm not Emile ZOLA or Victor Hugo  ;)

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on September 28, 2006, 11:38:21 pm
All,

Well  ???

I can'nt use this Plugin because my CPG had some video and some FLASH !
Then, those files are definitivly out if i use this plug !
 There's no possibility to view those files.
Also, I apply this plugin only on my INDEX.PHP, not on all pages... sorry.

Is it a major issue ?
Or is this Plugin is for use only with PIX  ? (jpg, gif, png) Yes, i know   ;)

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 28, 2006, 11:47:41 pm
Do you use custom thumbnail for non-image file?
As I see you are using default thumbnail for flash and video files So plugin will work with them!
check this:
http://www.pays-dignois.com/galerie/thumbnails.php?album=20
everyting is normal  ;D
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on September 29, 2006, 12:30:56 am
Borzoo,

Yes you 're right !
The no-pix files with custom thumbnail do'nt work !
But if i leave no-pix files with "defaut thumb_" it's possible to click and view those files  ???
It's not the very best !

Most clearly, HighSlide look at VIDEO.JPG if i click on a link video/thumbnail with a custom thumb (named thumb_VIDEO.JPG), and can not open VIDEO.AVI !!

I can'nt, and do'nt want delete my custom Video-Thumbnails  ???

How can us turn around this issue ?

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on September 29, 2006, 01:07:10 am
Sami,

Is this is a known issue, HighSlide do not work on thumbnails's film stripe  ???

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Fabrian on September 29, 2006, 05:08:34 am
Great plugin Sami!

Everything works perfect aside from what other are saying about non-image files that have a thumbnail associated with it.  Is this fixable aside from removing the thumbnails and using the default thumbnail for non-image files? 

My gallery is only for family and there are lots of videos that, without a thumbnail, would leave people searching.

Also, will there be a fix for view count?

Thanks!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 29, 2006, 06:25:11 am
I can'nt, and do'nt want delete my custom Video-Thumbnails  ???

How can us turn around this issue ?
i'm working on that ... don't worry We find a way

Is this is a known issue, HighSlide do not work on thumbnails's film stripe  ???
Actualy this is not an issue  :)
Highslide is meant to show a simple slide (preview) of image without going to intermediate page and when user wants more detail s/he can see it under intermedaite page so plugin will not apply under intermediate page.

Great plugin Sami!

Everything works perfect aside from what other are saying about non-image files that have a thumbnail associated with it.  Is this fixable aside from removing the thumbnails and using the default thumbnail for non-image files? 

My gallery is only for family and there are lots of videos that, without a thumbnail, would leave people searching.

Also, will there be a fix for view count?

Thanks!
Thank you fabrian
Yes if you remove the custom thumbnail for a file ,plugin will see that file and will show it as a regular non-image file (by going to intermediate page)
And about view count , I didn't check that yet but it would be a fix for it :)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: DonSpliff on September 29, 2006, 03:45:42 pm
Amazing plugin. Just a reply to tell my thanksfull.

Great Job !
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Davide Renda on September 29, 2006, 11:13:53 pm
great great great plugin Sami!

PS. Attached italian translation  ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 30, 2006, 05:33:42 am
Thank you lontano :)
I'll add italian to the next version ...
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Quinti on September 30, 2006, 04:08:55 pm
Hi People

very good Sami
thanks

no run for me...
Galería Concello Sarria (http://www.fotosdesarria.com)

mmm...., i have the 1.4.9, i need any more?

thanks
greetings
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 30, 2006, 04:16:50 pm
Sorry you have SEF plugin installed and this plugin can't work with SEF installed
There is a chance to add SEF compatibilty to next version ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on October 01, 2006, 02:08:06 pm
Sami, this is really a great plugin - once those above mentioned flaws have been ironed out I'd really love to see the plugin shipping with the next release.
To avoid conflicts with other JavaScript bits (as reported by rphMedia), you might consider renaming the functions and vars to something more unique (e.g. prefixing every var and function with cpgHighslide or something similar).
Anyway, as suggested: I really love this plugin.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on October 01, 2006, 02:26:47 pm
Yes GauGau man and Sami man,

This plug is the greatest plug since past mounth is'nt it ? ( in visual cat and other maybe)
Some adjustments and it will be perfect at all  :D

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 01, 2006, 02:59:23 pm
@GauGau : Thank you for suggestions , I'll do my best ;) (New version comming this week)
@PYAP : Thanks man , you're supporting this plugin well :)
 Actualy I should thank TranzNDance for suggesting (http://forum.coppermine-gallery.net/index.php?topic=34360.msg170610#msg170610) such a good JavaScript
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Tranz on October 01, 2006, 06:17:40 pm
Sami, thanks for continuing to build on this. It has so much potential but I didn't have the ability to do it myself. I must give credit to the person who posted about it here: http://www.lunarforums.com/forum/index.php?topic=35096

I downloaded the plugin again today so it has the admin option.

For the admin page, could you please remove the expanding feature? Since there's not much content, it would be nice that it all shows instead of requiring the click of Expand All. This was done for the config panel of mini-cms, so it's possible.

I was confused about the wording for "Apply to index & meta albums only". Should "only" be there? Does it mean that it doesn't work for regular album thumbnail pages?

I saw on the first post the list of known issues has something to do with custom thumbs. Does that have to do with non-image files? Have you used the is_image function, or whatever it is?

I can't see the plugin in action in my gallery, probably because of conflict with my code. Once the plugin is just what I want, I can undo the changes to my code. :)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 01, 2006, 06:47:14 pm
For the admin page, could you please remove the expanding feature? Since there's not much content, it would be nice that it all shows instead of requiring the click of Expand All. This was done for the config panel of mini-cms, so it's possible.
Sure it can be removed , it's all the matter of laziness ::)

I was confused about the wording for "Apply to index & meta albums only". Should "only" be there? Does it mean that it doesn't work for regular album thumbnail pages?
oh,I see , you're right I should change the word maybe I should just create two radio button for this option with these lables
- Apply to index only
- Apply to whole gallery

I saw on the first post the list of known issues has something to do with custom thumbs. Does that have to do with non-image files? Have you used the is_image function, or whatever it is?

I can't see the plugin in action in my gallery, probably because of conflict with my code. Once the plugin is just what I want, I can undo the changes to my code. :)

Those are solved in next version , In fact they are already done (in my test bed) but I need to correct some typos and I'm going to add SEF compatibilty to it , but as I said those issue solved ;)

I'll post the new version soon ...
Title: Re: Highslide (Skip Intermediate Page and show full page on the page)
Post by: rphMedia on October 01, 2006, 07:40:22 pm
Edit: Firefox doesn't like the script - just hangs on click.

This is just an update in case anyone else has problems with FF (probably rare).

I tried uninstalling/reinstalling FF, but that didn't fix my issue.  I had to physically delete my "profile" folder that belonged to Firefox ... all is good now :) 

Can't wait for the progression of this plugin.  I'd love to make it work with the other mods I have ( the foliage theme, lightbox AND lightbox plus :) )

Great job Sami & TranzNDance !!

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 01, 2006, 11:52:11 pm
As GauGau suggested , I change the name of the all global variable and all function with adding a prefix (cpghs_) to them under main (Core) JavaScript so hopefullly there is no confilict ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 02, 2006, 08:30:57 am
New release is ready I'm just waiting for PYAP & lontano To put their new translations in package
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rphMedia on October 02, 2006, 12:51:42 pm
Sami, if you want to post it (or send it to me directly), I have a bit of time, I can run it through a couple of my Galleries.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on October 02, 2006, 04:23:48 pm
Hey all,

Transaltion FR done by PYAP
(sami's PM)

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 02, 2006, 05:05:55 pm
New version released :)
@PYAP : Thank you for fast reply
@lontano : old italian lang file added to this pack , I'm waiting for your reply and thank you for tranlation
@rphMedia : Thanks man for suggestions , I hope it work on your custom theme
@Quinti : SEF compatibilty option added to this version but as I don't have SEF enabled , it's not tested , So i'm waiting for your confirmation

Hope you all enjoy this ... ;D
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on October 02, 2006, 05:24:26 pm
Sami,

On new install, i receive an error from line 68 in french.php
Code: [Select]
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in french.php on line 68But my file had 66 lines  ??? What'z the matter ?

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 02, 2006, 05:30:50 pm
Sorry It was mine ;D
Package updated
Download it again,
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Davide Renda on October 02, 2006, 09:32:10 pm
Quote
@lontano : old italian lang file added to this pack , I'm waiting for your reply and thank you for tranlation
here attached the updated file - thank you!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rphMedia on October 02, 2006, 09:58:09 pm
@rphMedia : Thanks man for suggestions , I hope it work on your custom theme

OK Sami, we're getting closer :)

For my sample gallery, I don't have a js theme, but I do have 'lightbox plus....'

Works in Firefox perfectly ??? --- It's respecting non-image types now :):)

IE wants to open a browser window (same window). ((I eventually would like it to be cross-browser friendly))

Have no idea what IE does that Firefox doesn't.  More troubleshooting...
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 02, 2006, 11:01:44 pm
So plugin works withh FF and have issue with IE for you ?
Then try refresh with ctrl+f5 in case of cache issue
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rphMedia on October 02, 2006, 11:16:10 pm
I wish it was that simple ;D

I have the plugin installed at http://gallery.rphmedia.net if you'd like to explore.  Firefox is doing everything [correctly].  IE is missing something or ....

((I also tried it with the foliage theme (Gizmo's nice find) and your plugin fails miserably with that theme, but that's OK, I'd rather it work with the other visual mods))

I wish it would work with everything, but we can't have it all  ;)

Still, good work Sami --------- take a break :)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 02, 2006, 11:31:49 pm
Ron works for me in both FF and IE with classic theme , I'll check your default theme for JS conflict ...
btw it's better if you set the Slide should show on option to intermediate
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rphMedia on October 03, 2006, 12:36:58 pm
Ron works for me in both FF and IE with classic theme

I know, it works with classic theme because I don't have lightbox (plus) included with that theme. 

I think I will bow out, because my problem is unique.  Like I said, I would just like all these great mods to work together.  I may be asking too much  :-[
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Fabrian on October 04, 2006, 07:25:40 am
I had a little problem, though you should know as it's consistant.

I had two folders in the uploads directory that where missing underscores or dashes.  Even though highslide was set to show intermediate, it would still expand into the the full size image as if it were set that way..  I renamed the folders that had missing characters and it was fine again (basically if there were any "%" in the link path).

I thought it was me, because I'm usually doing this stuff late at night half asleep and make silly mistakes, but I checked the problem and resolution thoroughly before I posted.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 04, 2006, 04:08:56 pm
can you post a direct link to those pictures ?
I know that you rename those folders but I want to check the whole url
and would you tell me the old name of those folders ?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 04, 2006, 06:20:23 pm
@rphMedia :
I find a solution for you ;) let's check it ...
open up your spica.js and comment out lines around 27 ~34 , final code should be like this
Code: [Select]
/*Array.prototype.indexOf = function(value,idx)
{
if (typeof(idx) != 'number') idx = 0;
else if (idx < 0) idx = this.length + idx;
for (var i=idx,n=this.length;i<n;i++)
if (this[i] === value) return i;
return -1;
}*/

I've no idea why IE reject HS plugin by setting this function but this way both lighbox plus and Highslide will work
Also check it with more browser for any other issue cause by commenting !
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rphMedia on October 04, 2006, 07:14:32 pm
Getting even closer.  Now Firefox doesn't like the scripts. IE works good, both js's !

Firefox complaint -

Error: Browser is not a constructor
Source File: http://gallery.rphmedia.net/themes/blackbirch/js/spica.js
Line: 51

Error: Event.register is not a function
Source File: http://gallery.rphmedia.net/themes/blackbirch/js/lightbox_plus.js
Line: 593

I wish I knew Javascript a little better.  I know enough to get by  :(
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 04, 2006, 07:32:07 pm
:)
The way you commenting that out is wrong
replace this:
Code: [Select]
if (!Array.prototype.indexOf)
/*{
Array.prototype.indexOf = function(value,idx)
{
if (typeof(idx) != 'number') idx = 0;
else if (idx < 0) idx = this.length + idx;
for (var i=idx,n=this.length;i<n;i++)
if (this[i] === value) return i;
return -1;
}
}*/
with this
Code: [Select]
if (!Array.prototype.indexOf)
{
/*Array.prototype.indexOf = function(value,idx)
{
if (typeof(idx) != 'number') idx = 0;
else if (idx < 0) idx = this.length + idx;
for (var i=idx,n=this.length;i<n;i++)
if (this[i] === value) return i;
return -1;
}*/
}
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rphMedia on October 04, 2006, 08:42:22 pm
That did it Sami, you're a genius  :)

Both, your Plugin and Gizmo's Lightbox mod works perfect in all of the standard themes !  I think it's an outstanding alternative for viewing the CPG's.  So smooth and streamlined (and quiet, no annoying clicks).

Thanks ! & Keep Plugin  ;D

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Fabrian on October 04, 2006, 08:57:38 pm
can you post a direct link to those pictures ?
I know that you rename those folders but I want to check the whole url
and would you tell me the old name of those folders ?

Look here: http://thefabhouse.com/testcpg (http://thefabhouse.com/testcpg)

The directory where the images sit were created, and then the pictures were batch added.  I'm mentioning this because I noticed, when I looked at the path highslide was using for the image, in the directory that has spaces, the image filename is what I named it before I uploaded.  In the directory that has no spaces, the image name has normal_ before the filename.  So it seems when the directory name has spaces, cpg is not creating an intermediate file when adding the pictures to an album.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rphMedia on October 04, 2006, 09:10:31 pm
I'm pretty sure that the conflict is with the foliage theme.

Check here, it works good with the classic theme -

http://www.thefabhouse.com/testcpg/?theme=classic

Unless I'm missing something.

EDIT: OK, I do see what you're saying now, but this doesn't have anything to do with the Highslide Plugin. That is a weird occurance.  "Could" be the server?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Fabrian on October 04, 2006, 09:16:37 pm
Unless I'm missing something.

Yes.  The default theme is set to Orange Sky anyway, I'm not sure why you're mentioning the foliage theme.  You should only see two files, with and without spaces.  Notice the expaned image...on my test gallery highslide is set to index only and not all images.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Fabrian on October 04, 2006, 09:23:38 pm
I'm pretty sure that the conflict is with the foliage theme.

Check here, it works good with the classic theme -

http://www.thefabhouse.com/testcpg/?theme=classic

Unless I'm missing something.

EDIT: OK, I do see what you're saying now, but this doesn't have anything to do with the Highslide Plugin. That is a weird occurance.  "Could" be the server?


I checked everything again, and I don't think it's server side, but I thought maybe with cpg.  I checked what files exist in both directories (with spaces and without spaces) and all three files are there in both (orig file,thumb and normal).  The problem I see is Highslide is choosing the full image for intermediate for the file in the "with spaces" directory and it's choosing the normal image for intermediate for the file in the "without spaces" directory. 
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rphMedia on October 04, 2006, 09:28:24 pm
I would merely recommend not using spaces or any special characters in directories or filenames.  This is a long standing practice in order to avoid such problems.  Highslide is doing what it's supposed to  :)

Not trying to be difficult here at all.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Fabrian on October 04, 2006, 09:57:00 pm
Agreed.  The problem originated out of sheer tired.  I just wanted to bring it foward.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 04, 2006, 11:52:50 pm
@rphMedia : Thank you for support ;)
@Fabrian : Thank you for reporting this :)
As you mention before this is space issue ,
- when you set the plugin for showing intermediate image it should check the intermadite image to be exist and cause you have space on the path the is_file() function couldn't see the intermediate image so plugin use fullsize image (blind choose, without checking for existance of fullsize)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Davide Renda on October 06, 2006, 01:19:39 pm
I may have found a bug: images uploaded through XpPublish feature are not "highslided" from this plugin.
Have a try on this album (http://www.daviderenda.com/thumbnails.php?album=666) where, most of the images (the first ones) were uploaded from me in the office through XP, while other ones from home with either batch add or simple upload the last 7 ones in bottom page).
All images uploaded with XpPublish can be recognised as the url is something as .. /albums/wpw-2006xxxx/image.jpg
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 06, 2006, 05:10:54 pm
Lontano , I've checked that album , all those pictures have complex filename such as 2003.03.mont.st.michel.jpg
These filenames are not regular and plugin couldn't apply to this type of file , use a simpler filename (use _ instead of .)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Davide Renda on October 07, 2006, 04:34:52 pm
yop, that's it; I've made a deeper search through the gallery and other images uploaded through XpPublish "highslides" - it's a matter of filenames ;-)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Quinti on October 10, 2006, 11:54:37 pm
HI!

no..., no run with sef mod....
debug shows:
Code: [Select]
/plugins/highslide/include/init2.inc.php

    * Warning line 21: mysql_free_result(): supplied argument is not a valid MySQL result resource

/plugins/highslide/codebase.php

    * Notice line 164: Use of undefined constant admin_show - assumed 'admin_show'
    * Notice line 164: Use of undefined constant admin_show - assumed 'admin_show'

/include/functions.inc.php

    * Warning line 483: sprintf(): Too few arguments
    * Warning line 483: sprintf(): Too few arguments
    * Warning line 483: sprintf(): Too few arguments
    * Warning line 483: sprintf(): Too few arguments
    * Warning line 483: sprintf(): Too few arguments
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on October 11, 2006, 12:09:51 am
Lontano , I've checked that album , all those pictures have complex filename such as 2003.03.mont.st.michel.jpg
These filenames are not regular and plugin couldn't apply to this type of file , use a simpler filename (use _ instead of .)
Filenames as the one posted above should be fixed as per cpg1.4.8 or better. Subsequently, I guess that your gallery is outdated.
Not related to this plugin imo.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 11, 2006, 12:11:46 am
@Quinti:Those notices ,are not related to your sef issue
As I said before I didn't test sef compatibilty , guess I should test it now ! ::)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 11, 2006, 12:13:36 am
@gaugau:I think, maybe it's a XP publish bug
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Quinti on October 11, 2006, 12:25:43 am
jej...sorry, i no view the admin button

wants run...but no..., shh, a litlle bit... look: http://www.fotosdesarria.com/ (http://www.fotosdesarria.com/)

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Quinti on October 11, 2006, 12:32:04 am
Hi

take the Spanish translation
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Quinti on October 11, 2006, 01:02:24 am
RUN!!

i haved other js scripts

run run

is great this plugin eh? :))
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Quinti on October 11, 2006, 01:21:35 am
suggestions:

this lines in the .js

cpghs_restoreTitle : 'Clica para restaurar la foto',
cpghs_loadingText : 'Cargando...',

could be translated in lang.php?

_ _ _ _

in Readme.txt puts:
"Installation:
1.copy captcha folder to your plugins folder"

"captcha" instead of "HighSlide", jijji i'm now a contributor!!!, jejejejje

greetings and all the best :)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 11, 2006, 05:53:34 am
- So it's compatible with SEF ;)

- Thank you for translation

- I'll check those lines and will try to add them to lang file

Quote
1.copy captcha folder to your plugins folder"

"captcha" instead of "HighSlide", jijji i'm now a contributor!!!, jejejejje

Copy/Paste typo.... :P
Title: Re: Highslide (Skip Intermediate Page and show full image ) validating xhtml
Post by: Quinti on October 12, 2006, 05:14:48 am
Hi!!

validating the higslide to XHTML 1.0:

         if($HIGHSLIDESET[detail]==1 || $HIGHSLIDESET[close]==1){
            $rep_str.='<ins><div class="highslide-caption" style="height:15px;"id=\'caption-for-'.$match[3].'\'>';
         }
         if($HIGHSLIDESET[detail]==1){ // add link to intermadiate
            $rep_str.='<div onclick="location.href=\''.$match[1].'\'" class="highslide_dtails" style="float:left;" onmouseover="this.className=\'highslide_dtails_over\'"  onmouseout="this.className=\'highslide_dtails\'">'.$lang_plugin_highslide['detail'].'</div>';
         }
         if($HIGHSLIDESET[close]==1){ // add link to intermadiate
            $rep_str.='<div onclick="hs.cpghs_closeId(\''.$match[3].'\')" align="right" class="highslide_dtails" style="float:right;" onmouseover="this.className=\'highslide_dtails_over\'"  onmouseout="this.className=\'highslide_dtails\'">'.$lang_plugin_highslide['close'].'</div>';
         }
         if($HIGHSLIDESET[detail]==1 || $HIGHSLIDESET[close]==1){
            $rep_str.='</div></ins>';
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 12, 2006, 06:20:52 am
Thank you Quinti ,
but that's not correct way,
Next release would be Valid XHTML 1.0 Transitional!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Quinti on October 12, 2006, 06:44:34 am
Hi Sami

yes, it's correct,
in your page is no correct because u have little photos and in the index, shows repeats images, and XHTML no admit (is no correct) repeat the same ID

but if you had only the last post, for example, will be valid.
refresh validator (http://validator.w3.org/check?uri=http%3A%2F%2Flab.kishmate.com%2Fgallery144%2Findex.php&charset=%28detect+automatically%29&doctype=Inline&verbose=1)

greetings!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 12, 2006, 06:51:32 am
I'm using future release on my gallery ;) , So you didn't see any error , the only error is for duplicate image (duplicate ID)

use attached codebase instead of yours , you'll see ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 15, 2006, 10:25:18 am
New release with New features, check the initial post for more (Valid XHTM, image title on caption & ....)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Quinti on October 15, 2006, 04:17:50 pm
Hi

get the spanish translation in utf-8


thanks Bonzoo!  ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 15, 2006, 04:31:35 pm
My name is Borzoo , not bonzoo !
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Quinti on October 15, 2006, 08:56:36 pm
jej, oukis
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: jidol on October 22, 2006, 12:27:24 am
Hi,

Being new here I would like to say - well done, great plugin!!
And add here my czech translation...

Any may be one question, which is perhaps  a bit off topic, but still:
I want do display real title of the picture in the caption instead of filename, date, dimension and so on, perhaps some exif data would be useful...
Could you help??
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 22, 2006, 06:48:42 am
Thank you for contribution,

You can add real title to caption by adding hook (thumb_data) to the codebase.php
Exif data needs custom sql query and will slow down your gallery
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: jidol on October 23, 2006, 02:51:55 pm
Sorry but I´am lost in code  (honestly i do not understant it at all)
Could you be more specific how to add the title of the picture?
And I have 2 more ideas here:
1/ it is possible do display each picture right in the center of  a screen?
2/ and what about to darken all the screen except the displayed picture?

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 23, 2006, 03:51:21 pm
Sorry but I´am lost in code  (honestly i do not understant it at all)
Could you be more specific how to add the title of the picture?
Sorry but I was , currently there isn't any documentation about how to code a plugin and if I want to be more specific then I should actualy code it ::)
but I'll check it and maybe add it to next release

1/ it is possible do display each picture right in the center of  a screen?
2/ and what about to darken all the screen except the displayed picture?
Thease are Lightbox (MOD) (http://forum.coppermine-gallery.net/index.php?topic=35539.0) features
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: easyjava on October 23, 2006, 05:00:17 pm
Hello

Can you tell me why I don't see the border (glow, 10px, white...).

Thanks  :)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 23, 2006, 06:10:59 pm
Post a link to your gallery ,I'll check it
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: easyjava on October 23, 2006, 06:25:01 pm
Thanks
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 23, 2006, 07:10:36 pm
You have a French+javascript error ! ;)
change this line under plugins/highslide/lang/french.php
Code: [Select]
'restore_title'  =>  'Clic pour reconstituer l\'ongle du pouce ',// HS v2.3

to this
Code: [Select]
'restore_title'  =>  'Clic pour reconstituer l\\\'ongle du pouce ',// HS v2.3
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: pcotter on November 09, 2006, 11:53:59 am
 Portuguese (Portugal) translation ! Is that all? Do i need to modify anything else in the script(s)?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on November 11, 2006, 06:53:38 pm
No you don't need any modification ....
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: strzelec4 on December 02, 2006, 03:22:11 am
It seems to me that highslide doesn't work with lightbox. Highslide only works if i remove lightbox's javescripts from template.php  . Is there a way to have both of them running at the same time?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 02, 2006, 06:59:43 am
You need to comment out some lines on lightbox jscript see this for more info:
http://forum.coppermine-gallery.net/index.php?topic=36558.msg174002#msg174002
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: strzelec4 on December 02, 2006, 02:02:16 pm
when I comment out those lines then lightboxplus doesn't work on full size picture. Any ideas how to get both of them working ?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 02, 2006, 02:59:09 pm
Post a link to your gallery please
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: tysoh on December 03, 2006, 12:05:04 am
Here is my gallery: http://www.tyzon.net/gallery/index.php

However, when I click on the thumbnails, the text 'Loading...' doesnt show, pls assist. Thanks in advance.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: strzelec4 on December 03, 2006, 04:37:06 am
SAMI: www.naszezdjecia.com  Firefox works great but not IE.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: MarkP on December 03, 2006, 04:55:28 am
Nice plugin. Any time frame when the viewed count will go up with the views?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 03, 2006, 06:53:20 am
@tysoh: when I try your site with classic theme I can see the loadin animation and text try this:
http://www.tyzon.net/gallery/index.php?theme=classic

So the issue is custom theme , actually you may have a general css conflict , one of your style defenition overwrite on hs loading div and send it to semewhere else!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 03, 2006, 07:22:59 am
@strzelec4: Use attached spica.js instead of yours
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 03, 2006, 07:28:55 am
Nice plugin. Any time frame when the viewed count will go up with the views?

Actually adding such a feature will give you some faik view count , cause
- User comes and click on a thumbnail , then HS pops out and the add a hit to view count
- Then user click on detail link and goes to displayimage.php and this will add another hit to view count

Any suggestion ?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: clefranc on December 05, 2006, 10:32:30 am
Quote from: Sami
Actually adding such a feature will give you some faik view count , cause
- User comes and click on a thumbnail , then HS pops out and the add a hit to view count
- Then user click on detail link and goes to displayimage.php and this will add another hit to view count

Any suggestion ?

Disable the filmstrip in config, remove previous/next icon, disable the view count in displayimage.php for media displayed by HS
or
Integrate vote/comment/detail and all the other stuff in HS window and remove displayimage.php  :)

BTW, view count is not suppose to work with IP? So even if I refresh or click many time on the same image, it only add 1 to the count (this behaviour is only for a certain period of time), HS or displayimage.php should do the same???
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on December 05, 2006, 11:00:40 am
View count will increase if the corresponding page (displayimage.php) is being accessed and the corresponding database query is being triggered there. Highslide is JavaScript-driven - the query triggered by displayimage.php is never run, as the normal/full-size pic is directly embedded into the thumbnail page. That's why the view count is not increased. As suggested, it would be very complicated (or nearly impossible) to have the view counter increase with Highslide. You'd need to come up with a complex Ajax-driven query mechanism. I can fully understand that Sami will not look into this - after all, stats don't matter for most.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 05, 2006, 06:36:14 pm
What about a counter just for HS view ?
There is a hope to add this option (not soon)
any suggestion?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on December 05, 2006, 11:12:28 pm
The JavaScript bit still needs to interact with the server by running queries, so you'll have to add some Ajax magic, where you don't refresh the entire page, but only a section (could be done using a 1x1 pixel iframe for example) wehre you increase the counter.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 06, 2006, 07:48:11 am
Thank you GauGau ,
AJAX would be a good choice (I don't like old fashion iframe) , actually AJAX was my first option at first place
I need suggestion about loging info
I'm going to log these:
- User id
- User IP
- Picture id
Are these info enough ?

Then I should add a view count to Slides and make it clickable just for admin to see the log
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on December 06, 2006, 07:50:03 am
I suggest not to create a separate counter, but use the counter mechanisms that already exist in the database.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: olti on December 09, 2006, 12:10:45 am
Really a great mod. But I have a question. How to use this way of showing the photos instead of the pop up window when click on the thumbnails?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 09, 2006, 05:55:38 am
You can set Size of slide to full size image under highslide configuration and then edit your theme.php and remove pop up link under displayimage.php
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: olti on December 09, 2006, 03:20:44 pm
You can set Size of slide to full size image under highslide configuration and then edit your theme.php and remove pop up link under displayimage.php

What should I edit into the theme.php and which are the codes that I have to remove from displayimage.php ?

Cheers.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 09, 2006, 05:21:26 pm
Copy this (moded) function to themes/your theme/theme.php
Code: [Select]
function theme_html_picture()
{
    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $USER;
    global $album, $comment_date_fmt, $template_display_media;
    global $lang_display_image_php, $lang_picinfo;

    $pid = $CURRENT_PIC_DATA['pid'];
    $pic_title = '';

    if (!isset($USER['liv']) || !is_array($USER['liv'])) {
        $USER['liv'] = array();
    }
    // Add 1 to hit counter
    if (!USER_IS_ADMIN && !in_array($pid, $USER['liv']) && isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
        add_hit($pid);
        if (count($USER['liv']) > 4) array_shift($USER['liv']);
        array_push($USER['liv'], $pid);
    }

    if($CONFIG['thumb_use']=='ht' && $CURRENT_PIC_DATA['pheight'] > $CONFIG['picture_width'] ){ // The wierd comparision is because only picture_width is stored
      $condition = true;
    }elseif($CONFIG['thumb_use']=='wd' && $CURRENT_PIC_DATA['pwidth'] > $CONFIG['picture_width']){
      $condition = true;
    }elseif($CONFIG['thumb_use']=='any' && max($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']) > $CONFIG['picture_width']){
      $condition = true;
    }else{
     $condition = false;
    }

    if ($CURRENT_PIC_DATA['title'] != '') {
        $pic_title .= $CURRENT_PIC_DATA['title'] . "\n";
    }
    if ($CURRENT_PIC_DATA['caption'] != '') {
        $pic_title .= $CURRENT_PIC_DATA['caption'] . "\n";
    }
    if ($CURRENT_PIC_DATA['keywords'] != '') {
        $pic_title .= $lang_picinfo['Keywords'] . ": " . $CURRENT_PIC_DATA['keywords'];
    }

    if (!$CURRENT_PIC_DATA['title'] && !$CURRENT_PIC_DATA['caption']) {
        template_extract_block($template_display_media, 'img_desc');
    } else {
        if (!$CURRENT_PIC_DATA['title']) {
            template_extract_block($template_display_media, 'title');
        }
        if (!$CURRENT_PIC_DATA['caption']) {
            template_extract_block($template_display_media, 'caption');
        }
    }

    $CURRENT_PIC_DATA['menu'] = html_picture_menu(); //((USER_ADMIN_MODE && $CURRENT_ALBUM_DATA['category'] == FIRST_USER_CAT + USER_ID) || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC_DATA['owner_id'] == USER_ID && USER_ID != 0) || GALLERY_ADMIN_MODE) ? html_picture_menu($pid) : '';

    if ($CONFIG['make_intermediate'] && $condition ) {
        $picture_url = get_pic_url($CURRENT_PIC_DATA, 'normal');
    } else {
        $picture_url = get_pic_url($CURRENT_PIC_DATA, 'fullsize');
    }

    $image_size = compute_img_size($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight'], $CONFIG['picture_width']);

    $pic_title = '';
    $mime_content = cpg_get_type($CURRENT_PIC_DATA['filename']);


    if ($mime_content['content']=='movie' || $mime_content['content']=='audio') {

        if ($CURRENT_PIC_DATA['pwidth']==0 || $CURRENT_PIC_DATA['pheight']==0) {
            $CURRENT_PIC_DATA['pwidth']  = 320; // Default width

            // Set default height; if file is a movie
            if ($mime_content['content']=='movie') {
                $CURRENT_PIC_DATA['pheight'] = 240; // Default height
            }
        }

        $ctrl_offset['mov']=15;
        $ctrl_offset['wmv']=45;
        $ctrl_offset['swf']=0;
        $ctrl_offset['rm']=0;
        $ctrl_offset_default=45;
        $ctrl_height = (isset($ctrl_offset[$mime_content['extension']]))?($ctrl_offset[$mime_content['extension']]):$ctrl_offset_default;
        $image_size['whole']='width="'.$CURRENT_PIC_DATA['pwidth'].'" height="'.($CURRENT_PIC_DATA['pheight']+$ctrl_height).'"';
    }

    if ($mime_content['content']=='image') {
        if (isset($image_size['reduced'])) {
            $winsizeX = $CURRENT_PIC_DATA['pwidth']+5;  //the +'s are the mysterious FF and IE paddings
            $winsizeY = $CURRENT_PIC_DATA['pheight']+3; //the +'s are the mysterious FF and IE paddings
            //$pic_html = "<a href=\"dsfsdfsdfjavascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">"; //commented by Sami to disable popup link
            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
            //$pic_html .= "</a>\n";//commented by Sami to disable popup link
        } else {
            $pic_html = "<img src=\"" . $picture_url . "\" {$image_size['geom']} class=\"image\" border=\"0\" alt=\"\" /><br />\n";
        }
    } elseif ($mime_content['content']=='document') {
        $pic_thumb_url = get_pic_url($CURRENT_PIC_DATA,'thumb');
        $pic_html = "<a href=\"{$picture_url}\" target=\"_blank\" class=\"document_link\"><img src=\"".$pic_thumb_url."\" border=\"0\" class=\"image\" /></a>\n<br />";
    } else {
        $autostart = ($CONFIG['media_autostart']) ? ('true'):('false');

        $players['WMP'] = array('id' => 'MediaPlayer',
                                'clsid' => 'classid="" ',
                                'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" ',
                                'mime' => 'type="application/x-mplayer2" ',
                               );
        $players['RMP'] = array('id' => 'RealPlayer',
                                'clsid' => 'classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" ',
                                'codebase' => '',
                                'mime' => 'type="audio/x-pn-realaudio-plugin" '
                               );
        $players['QT']  = array('id' => 'QuickTime',
                                'clsid' => 'classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" ',
                                'codebase' => 'codebase="http://www.apple.com/qtactivex/qtplugin.cab" ',
                                'mime' => 'type="video/x-quicktime" '
                               );
        $players['SWF'] = array('id' => 'SWFlash',
                                'clsid' => ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ',
                                'codebase' => 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ',
                                'mime' => 'type="application/x-shockwave-flash" '
                               );
        $players['UNK'] = array('id' => 'DefaultPlayer',
                                'clsid' => '',
                                'codebase' => '',
                                'mime' => ''
                               );

        if (isset($_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'])) {
            $user_player = $_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'];
        } else {
            $user_player = $mime_content['player'];
        }

                // There isn't a player selected or user wants client-side control
        if (!$user_player) {
            $user_player = 'UNK';
        }

        $player = $players[$user_player];

        $pic_html  = '<object id="'.$player['id'].'" '.$player['clsid'].$player['codebase'].$player['mime'].$image_size['whole'].'>';
        $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />";
        $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>';
        $pic_html .= "</object><br />\n";
    }

    $CURRENT_PIC_DATA['html'] = $pic_html;
    $CURRENT_PIC_DATA['header'] = '';
    $CURRENT_PIC_DATA['footer'] = '';

    $CURRENT_PIC_DATA = CPGPluginAPI::filter('file_data',$CURRENT_PIC_DATA);

    $params = array('{CELL_HEIGHT}' => '100',
        '{IMAGE}' => $CURRENT_PIC_DATA['header'].$CURRENT_PIC_DATA['html'].$CURRENT_PIC_DATA['footer'],
        '{ADMIN_MENU}' => $CURRENT_PIC_DATA['menu'],
        '{TITLE}' => bb_decode($CURRENT_PIC_DATA['title']),
        '{CAPTION}' => bb_decode($CURRENT_PIC_DATA['caption']),
        );

    return template_eval($template_display_media, $params);
}
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: olti on December 10, 2006, 02:02:59 pm
Sees that it doesnt work. Here is my theme.php file.

Code: [Select]
<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2006 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  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.
  ********************************************
  Coppermine version: 1.4.9
  $Source$
  $Revision: 3125 $
  $Author: gaugau $
  $Date: 2006-06-16 08:48:03 +0200 (Fr, 16 Jun 2006) $
**********************************************/

define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until
                                           // you have validated it. See docs/theme.htm.

// HTML template for template sys_menu spacer
$template_sys_menu_spacer ='<img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />';


  
// HTML template for template sys_menu buttons
    // {HREF_LNK}{HREF_TITLE}{HREF_TGT}{BLOCK_ID}{SPACER}
  //  addbutton($sys_menu_buttons,'{HOME_LNK}','{HOME_TITLE}','{HOME_TGT}','home',$template_sys_menu_spacer);
   // addbutton($sys_menu_buttons,'{MY_GAL_LNK}','{MY_GAL_TITLE}','{MY_GAL_TGT}','my_gallery',$template_sys_menu_spacer);
    // addbutton($sys_menu_buttons,'{MEMBERLIST_LNK}','{MEMBERLIST_TITLE}','{MEMBERLIST_TGT}','allow_memberlist',$template_sys_menu_spacer);
    // addbutton($sys_menu_buttons,'{MY_PROF_LNK}','{MY_PROF_TITLE}','{MY_PROF_TGT}','my_profile',$template_sys_menu_spacer);
  //  addbutton($sys_menu_buttons,'{ADM_MODE_LNK}','{ADM_MODE_TITLE}','{ADM_MODE_TGT}','enter_admin_mode',$template_sys_menu_spacer);
   // addbutton($sys_menu_buttons,'{USR_MODE_LNK}','{USR_MODE_TITLE}','{USR_MODE_TGT}','leave_admin_mode',$template_sys_menu_spacer);
   // addbutton($sys_menu_buttons,'{UPL_PIC_LNK}','{UPL_PIC_TITLE}','{UPL_PIC_TGT}','upload_pic',$template_sys_menu_spacer);
   // addbutton($sys_menu_buttons,'{REGISTER_LNK}','{REGISTER_TITLE}','{REGISTER_TGT}','register',$template_sys_menu_spacer);
   // addbutton($sys_menu_buttons,'{FAQ_LNK}','{FAQ_TITLE}','{FAQ_TGT}','faq',$template_sys_menu_spacer);
   // addbutton($sys_menu_buttons,'{LOGIN_LNK}','{LOGIN_TITLE}','{LOGIN_TGT}','login','');
   // addbutton($sys_menu_buttons,'{LOGOUT_LNK}','{LOGOUT_TITLE}','{LOGOUT_TGT}','logout','');
    // Login and Logout don't have a spacer as only one is shown, and either would be the last option.

// HTML template for intermediate image display
$template_display_media = <<<EOT
        <tr>
                <td align="center" class="display_media" nowrap="nowrap">
                        <table cellspacing="2" cellpadding="0" class="imageborder">
                                <tr>
                                        <td align="center">
                                                {IMAGE}

                                        </td>
                                </tr>
                                <tr>
                                        <td align="center">
                                                <script type="text/javascript"><!--
google_ad_client = "pub-0961475972968219";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "DD1414";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

                                        </td>
                                </tr>

                        </table>
                </td></tr>
                <tr><td>
                                                <table width="100%" cellspacing="2" cellpadding="0" class="tableb">
                                <tr>
                                        <td align="center">

                                                {ADMIN_MENU}
                                        </td>
                                </tr>
                        </table>





<!-- BEGIN img_desc -->
                        <table cellpadding="0" cellspacing="0" class="tableb" width="100%">
<!-- BEGIN title -->
                                <tr>
                                        <td class="tableb"><center><b>
                                                {TITLE}
                                        </b></center></td>
                                </tr>
<!-- END title -->
<!-- BEGIN caption -->
                                <tr>
                                        <td class="tableb"><center>
                                                {CAPTION}
                                        </center></td>
                                </tr>
<!-- END caption -->
                        </table>
<!-- END img_desc -->
                </td>
        </tr>

EOT;

function 
theme_html_picture()
{
    global 
$CONFIG$CURRENT_PIC_DATA$CURRENT_ALBUM_DATA$USER;
    global 
$album$comment_date_fmt$template_display_media;
    global 
$lang_display_image_php$lang_picinfo;

    
$pid $CURRENT_PIC_DATA['pid'];
    
$pic_title '';

    if (!isset(
$USER['liv']) || !is_array($USER['liv'])) {
        
$USER['liv'] = array();
    }
    
// Add 1 to hit counter
    
if (!USER_IS_ADMIN && !in_array($pid$USER['liv']) && isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
        
add_hit($pid);
        if (
count($USER['liv']) > 4array_shift($USER['liv']);
        
array_push($USER['liv'], $pid);
    }

    if(
$CONFIG['thumb_use']=='ht' && $CURRENT_PIC_DATA['pheight'] > $CONFIG['picture_width'] ){ // The wierd comparision is because only picture_width is stored
      
$condition true;
    }elseif(
$CONFIG['thumb_use']=='wd' && $CURRENT_PIC_DATA['pwidth'] > $CONFIG['picture_width']){
      
$condition true;
    }elseif(
$CONFIG['thumb_use']=='any' && max($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']) > $CONFIG['picture_width']){
      
$condition true;
    }else{
     
$condition false;
    }

    if (
$CURRENT_PIC_DATA['title'] != '') {
        
$pic_title .= $CURRENT_PIC_DATA['title'] . "\n";
    }
    if (
$CURRENT_PIC_DATA['caption'] != '') {
        
$pic_title .= $CURRENT_PIC_DATA['caption'] . "\n";
    }
    if (
$CURRENT_PIC_DATA['keywords'] != '') {
        
$pic_title .= $lang_picinfo['Keywords'] . ": " $CURRENT_PIC_DATA['keywords'];
    }

    if (!
$CURRENT_PIC_DATA['title'] && !$CURRENT_PIC_DATA['caption']) {
        
template_extract_block($template_display_media'img_desc');
    } else {
        if (!
$CURRENT_PIC_DATA['title']) {
            
template_extract_block($template_display_media'title');
        }
        if (!
$CURRENT_PIC_DATA['caption']) {
            
template_extract_block($template_display_media'caption');
        }
    }

    
$CURRENT_PIC_DATA['menu'] = html_picture_menu(); //((USER_ADMIN_MODE && $CURRENT_ALBUM_DATA['category'] == FIRST_USER_CAT + USER_ID) || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC_DATA['owner_id'] == USER_ID && USER_ID != 0) || GALLERY_ADMIN_MODE) ? html_picture_menu($pid) : '';

    
if ($CONFIG['make_intermediate'] && $condition ) {
        
$picture_url get_pic_url($CURRENT_PIC_DATA'normal');
    } else {
        
$picture_url get_pic_url($CURRENT_PIC_DATA'fullsize');
    }

    
$image_size compute_img_size($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight'], $CONFIG['picture_width']);

    
$pic_title '';
    
$mime_content cpg_get_type($CURRENT_PIC_DATA['filename']);


    if (
$mime_content['content']=='movie' || $mime_content['content']=='audio') {

        if (
$CURRENT_PIC_DATA['pwidth']==|| $CURRENT_PIC_DATA['pheight']==0) {
            
$CURRENT_PIC_DATA['pwidth']  = 320// Default width

            // Set default height; if file is a movie
            
if ($mime_content['content']=='movie') {
                
$CURRENT_PIC_DATA['pheight'] = 240// Default height
            
}
        }

        
$ctrl_offset['mov']=15;
        
$ctrl_offset['wmv']=45;
        
$ctrl_offset['swf']=0;
        
$ctrl_offset['rm']=0;
        
$ctrl_offset_default=45;
        
$ctrl_height = (isset($ctrl_offset[$mime_content['extension']]))?($ctrl_offset[$mime_content['extension']]):$ctrl_offset_default;
        
$image_size['whole']='width="'.$CURRENT_PIC_DATA['pwidth'].'" height="'.($CURRENT_PIC_DATA['pheight']+$ctrl_height).'"';
    }

    if (
$mime_content['content']=='image') {
        if (isset(
$image_size['reduced'])) {
            
$winsizeX $CURRENT_PIC_DATA['pwidth']+5;  //the +'s are the mysterious FF and IE paddings
            
$winsizeY $CURRENT_PIC_DATA['pheight']+3//the +'s are the mysterious FF and IE paddings
            //$pic_html = "<a href=\"dsfsdfsdfjavascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">"; //commented by Sami to disable popup link
            
$pic_title $lang_display_image_php['view_fs'] . "\n==============\n" $pic_title;
            
$pic_html .= "<img src=\"" $picture_url "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
            
//$pic_html .= "</a>\n";//commented by Sami to disable popup link
        
} else {
            
$pic_html "<img src=\"" $picture_url "\" {$image_size['geom']} class=\"image\" border=\"0\" alt=\"\" /><br />\n";
        }
    } elseif (
$mime_content['content']=='document') {
        
$pic_thumb_url get_pic_url($CURRENT_PIC_DATA,'thumb');
        
$pic_html "<a href=\"{$picture_url}\" target=\"_blank\" class=\"document_link\"><img src=\"".$pic_thumb_url."\" border=\"0\" class=\"image\" /></a>\n<br />";
    } else {
        
$autostart = ($CONFIG['media_autostart']) ? ('true'):('false');

        
$players['WMP'] = array('id' => 'MediaPlayer',
                                
'clsid' => 'classid="" ',
                                
'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" ',
                                
'mime' => 'type="application/x-mplayer2" ',
                               );
        
$players['RMP'] = array('id' => 'RealPlayer',
                                
'clsid' => 'classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" ',
                                
'codebase' => '',
                                
'mime' => 'type="audio/x-pn-realaudio-plugin" '
                               
);
        
$players['QT']  = array('id' => 'QuickTime',
                                
'clsid' => 'classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" ',
                                
'codebase' => 'codebase="http://www.apple.com/qtactivex/qtplugin.cab" ',
                                
'mime' => 'type="video/x-quicktime" '
                               
);
        
$players['SWF'] = array('id' => 'SWFlash',
                                
'clsid' => ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ',
                                
'codebase' => 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ',
                                
'mime' => 'type="application/x-shockwave-flash" '
                               
);
        
$players['UNK'] = array('id' => 'DefaultPlayer',
                                
'clsid' => '',
                                
'codebase' => '',
                                
'mime' => ''
                               
);

        if (isset(
$_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'])) {
            
$user_player $_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'];
        } else {
            
$user_player $mime_content['player'];
        }

                
// There isn't a player selected or user wants client-side control
        
if (!$user_player) {
            
$user_player 'UNK';
        }

        
$player $players[$user_player];

        
$pic_html  '<object id="'.$player['id'].'" '.$player['clsid'].$player['codebase'].$player['mime'].$image_size['whole'].'>';
        
$pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\""$picture_url "\" />";
        
$pic_html .= '<embed '.$image_size['whole'].' src="'$picture_url '" autostart="'.$autostart.'" '.$player['mime'].'></embed>';
        
$pic_html .= "</object><br />\n";
    }

    
$CURRENT_PIC_DATA['html'] = $pic_html;
    
$CURRENT_PIC_DATA['header'] = '';
    
$CURRENT_PIC_DATA['footer'] = '';

    
$CURRENT_PIC_DATA CPGPluginAPI::filter('file_data',$CURRENT_PIC_DATA);

    
$params = array('{CELL_HEIGHT}' => '100',
        
'{IMAGE}' => $CURRENT_PIC_DATA['header'].$CURRENT_PIC_DATA['html'].$CURRENT_PIC_DATA['footer'],
        
'{ADMIN_MENU}' => $CURRENT_PIC_DATA['menu'],
        
'{TITLE}' => bb_decode($CURRENT_PIC_DATA['title']),
        
'{CAPTION}' => bb_decode($CURRENT_PIC_DATA['caption']),
        );

    return 
template_eval($template_display_media$params);
}

?>

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 10, 2006, 02:22:01 pm
It's working for me !
Your fullsize popup is disable now
you just need to install plugin
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: olti on December 10, 2006, 03:09:07 pm
Yes the pop up function is disabled now, but the photos do not open with the highslide too. As I said I need instead of the popup this kind of new  way that you did.

cheers.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on December 11, 2006, 11:50:49 pm
Quote from: Gizmo
Hey Sami, very cool plugin. I had seen you were creating a plugin back in the Modifications/Add-Ons/Hacks board and kept looking there for it. Never thought to check out this board... duh...  Tongue. I works great on most themes but as we come to expect about javascript there's a conflict with LightBox JS for the fullsize popup. Not a problem though as most people will only use one method (unless they're game for a lot of conflict issues!

Quote from: strzelec4
It seems to me that highslide doesn't work with lightbox. Highslide only works if i remove lightbox's javescripts from template.php  . Is there a way to have both of them running at the same time?

I have a simple solution for this problem, please take a look here (http://forum.coppermine-gallery.net/index.php?topic=39195.0)

Demo (http://www.wiscollectorcar.com/coppermine/cpg132/thumbnails.php?album=104)

Sami, Great MOD! Thank you so much for writing it! Would it be possible to add some additional features like the left/right links (as well as with the arrows on the keyboard) in the next version? Thanks!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 12, 2006, 06:30:25 am
Thank you garibaldi for contribution ,

Quote
Sami, Great MOD! Thank you so much for writing it! Would it be possible to add some additional features like the left/right links (as well as with the arrows on the keyboard) in the next version? Thanks!
I'm working on a view count for next version so don't expect arrow keys feature soon ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on December 12, 2006, 02:50:32 pm
Sure, no problem! Let me know if I can help!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Gephri on December 13, 2006, 01:47:42 am
Oh so close to getting this to work - but having  a small prob.
Narrowed down a conflict to a style sheet of mine and the CPG {META} tag in the header of my template.html.  The problem is that the words "Detail" and "Close" show up at the bottom of each thumbnail and when the thumbnail is clicked it doesn't open the way it should with this MOD. Can anyone recommend where to look for the problem?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 13, 2006, 05:45:50 am
Post a link to your gallery
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Gephri on December 13, 2006, 06:30:48 am
Thanks, here you go:
[removed]
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 13, 2006, 07:22:16 am
As you have very customized template plugin couldn't apply it's js and css file by it self so you need to add them manually !
openup themes/your theme/template.html
add this code before </head> tag
Code: [Select]
<link rel="stylesheet" href="plugins/highslide/include/highslide.css" type="text/css">
<script type="text/javascript" src="plugins/highslide/highslide.js"></script>
<style type="text/css">
.highslide {
cursor: url('plugins/highslide/graphics/zoomin.cur'), pointer;
    outline: none;
}
.highslide-image {
    cursor: pointer; /* opera */
cursor: url('plugins/highslide/graphics/zoomout.cur'), pointer;
    border: 2px solid white;
}
.highslide-loading {
     display: block;
color: white;
font-style: 'MS Sans Serif';
font-size: 9px;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
padding: 3px;
opacity: 0.60; /* w3c */
filter: alpha(opacity=60); /* ie */
border-top: 1px solid white;
border-bottom: 1px solid white;
background-color: black;

padding-left: 22px;
background-image: url('plugins/highslide/graphics/loader.gif');
background-repeat: no-repeat;
background-position: 3px 1px;

}
</style><script type="text/javascript">   
hs.cpghs_graphicsDir = 'plugins/highslide/graphics/';
hs.cpghs_loadingText = 'Loading...';
hs.cpghs_loadingTitle = 'Click to cancel';
hs.cpghs_restoreTitle = 'Click to restore thumbnail';
hs.cpghs_outlineType = 'rounded-white';
window.onload = function() {
hs.cpghs_preloadImages();
  }
</script>

and then add this to your body tag
Code: [Select]
onload="init();"

and after that, right after body tag put this div
Code: [Select]
<div id="highslide-container"></div>

I don't have my test bed so please test it and confirm ....
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Gephri on December 13, 2006, 07:47:41 am
Oh its a beautiful thing!
Thanks so much for your thorough help with such a fantastic mod.

PS - Also appreciate your seeing my template as "very customized" - now that your mod is working my next task is to clean up what has become a bit overwhelming !!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: deejaymoni on December 13, 2006, 08:13:56 pm
I got a question to this plugin.

Does the view counter of every image still work?

P.S. Oh now I know sorry for this question.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on December 14, 2006, 04:36:40 am
I'm having a really bizarre error. All my galleries work great with this script, ie:
http://www.wiscollectorcar.com/coppermine/cpg132/thumbnails.php?album=147&page=1
However, I noticed that when I look at this gallery the script isn't working:
http://www.wiscollectorcar.com/coppermine/cpg132/thumbnails.php?album=146&page=1
When you click on a thumb it just goes to the normal intermediate picture page. As far as I can tell there is nothing special or different about this gallery. Why is this problem occuring?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 14, 2006, 07:30:04 am
@deejaymoni: This plugin does not effect on view count yet and view count of image will work as a normal

@Garibaldi: Your filename under album #147 is not regular you have blah. blah.ext instead of blah.ext and plugin only work on regular filename
here is the tip:
- Do not use space on your filename (*nix os couldn't work with this filename)
- Do not use special char. only _ is allowed
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on December 14, 2006, 07:35:39 am
Extra dots in filenames has been fixed. You (Garibaldi) are using cpg1.4.8, which is outdated. It's mandatory to upgrade, most recent version currently is cpg1.4.10.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on December 15, 2006, 09:10:57 pm
Thanks, I upgraded successfully but the files still wouldn't work. I then uploaded new versions of the files without the extra "." and it works fine now. Thanks for the help!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on December 16, 2006, 09:52:01 pm
Sami, 

i stumbled upon this plugin and i must say it is awesome!

I did not hesitate to add it to my personal CPG. Have to test it on my other CPG to see if it does work alongside the other list of plugins there ;)

Added dutch.php

Hein
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Gephri on December 17, 2006, 06:16:29 pm
I've installed your plug-in and love it - but also see some of GauGau's concerns about reaching CPG functions like comments and ratings.
I have tried to code these type of links within the intermediate popup window - but couldn't get them to work.  Thought - someone sees thumbnail > opens intermediate picture popup > = great time to offer them comment and rating links.
Found the following original(?) code that also had navigation in Custom Overlays (see lower on their page)
http://vikjavev.no/highslide/#documentation (http://vikjavev.no/highslide/#documentation)

Can you tell me how, or can you provide code that will insert "Custom Overlays" with Comments & Ratings links to your mod? 
Thanks for any help in advance!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: olti on December 17, 2006, 09:26:55 pm
Among "Detail" and "Close" I would like to see "Send as eCard" too.

Could this be done?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 18, 2006, 05:49:17 am
@Hein:Thank you so much for contribution , I'll add it to package

@Gephri: This is not easy , could be done with AJAX
You can add your custom overlays to codebase.php

@olti:I'll add this feature to next version
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: olti on December 18, 2006, 12:13:40 pm
Thanks! :)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on December 25, 2006, 12:02:37 am
One thing I've noticed that keeps happening recently is that it takes quite a long time (10-15 seconds) to load an image after I click on the thumb... it just says Loading and finally the image pops up. Any ideas why this takes so long (I am on DSL). Here's my site:
http://www.wiscollectorcar.com/coppermine/cpg132/
Thanks
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on December 25, 2006, 06:05:04 am
As you set fullsize pics for your slide it takes time to load that pic (for the first time) and this is normal
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on December 25, 2006, 08:41:28 pm
As you set fullsize pics for your slide it takes time to load that pic (for the first time) and this is normal
I have mine set to Intermediate though, it still takes 10-20 seconds to load that which doesn't make any sense
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on January 15, 2007, 06:03:04 am
Here's a follow-up on this full/intermediate sized picture problem. Here's my gallery:
http://photos.wiscollectorcar.com

I tried going to a picture and when the highslide came up I clicked view image, and it is definitely the large, fullsize image. This was when I had the plugin set to Intermediate. I then switched the plugin to full size and repeated this process, same result. Both times it is clearly loading the full-sized image but only displaying it in a much smaller area, thus making the load times very inefficient.

Any ideas?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Piglet on January 16, 2007, 11:58:04 am
Great plugin! It would be nice if it actually counts image views and have the abillity to rate pics from here. If that was possible, I wouldn't need the detail page of an image.
Title: Galician language for HighSlide
Post by: Quinti on January 17, 2007, 06:05:35 pm
Hi

here the galician translation for High Slide

greetings
Title: correct how credits show in IE vs Firefox
Post by: Gephri on January 18, 2007, 11:42:14 am
Discovered that IE shows the cpghs_creditsText at the very top of the intermediate image popup in highslide.  However FireFox shows the text lower than at the top - as if there is a line break or something.  Couldn't find a way to correct - any ideas?

Also, I have some rather small intermediate images and when they popup, the three words that I have in the cpghs_creditsText  actually wraps into the center of the picture.  Can you tell me how to set up "nowrap" for that part of the code?
Thanks for a great mod!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on January 24, 2007, 03:18:51 pm
@Sami: I suggest reviewing the initial posting of this thread and adding a copyright notice to it: the underlying HighSlide.js (http://vikjavev.no/highslide/) library by Torstein Hønsi that is being used by your plugin doesn't come under GNU GPL - it's only free for non-commercial use. Professional use requires a $30 domain license. People who use your plugin need to be aware that the license applies to your plugin as well: if they use it on commercial sites, they need to pay the license fee to the author of the original JavaScript library.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on January 26, 2007, 04:04:50 pm
Thank you GauGau for pointing that out,
It's Done
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: tysoh on February 10, 2007, 10:05:27 am
It doesnt work correctly in IE7, anyone can help with this? Which code to edit?
Title: stop wrapping
Post by: Gephri on February 16, 2007, 02:08:06 am
Love this mod -but have some rather small images in some galleries.  Would like to set up a "NOWRAP" for the text on the bottom of the popup frame for intermediate images - can anyone tell me how?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on February 19, 2007, 07:43:35 am
You can set that in highslide.css ({gallery root}/plugins/highslide/include/highslide.css) , add your custom style to .highslide_dtails
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Gephri on February 19, 2007, 10:43:27 pm
Thanks for the help, but the 'close' text still wraps when a narrow thumbnail popsup.

Here's the code that controls that I would like to keep from wrapping:
Code: [Select]
if($HIGHSLIDESET[detail]){ // add link to intermadiate
$rep_str.='<div onclick="location.href=\''.$match[1].'\'" class="highslide_dtails"  style="float:left;" onmouseover="this.className=\'highslide_dtails_over\'"  onmouseout="this.className=\'highslide_dtails\'" >'.$lang_plugin_highslide['detail'].'</div>';
}
if($HIGHSLIDESET[close]){ // add link to close
$rep_str.='<div onclick="hs.cpghs_closeId(\''.$match[3].'\')" align="right" class="highslide_dtails" style="float:right;"  onmouseover="this.className=\'highslide_dtails_over\'" onmouseout="this.className=\'highslide_dtails\'" >'.$lang_plugin_highslide['close'].'</div>';
}
if($HIGHSLIDESET[title]){ // add title to caption
$rep_str .= '<div align="center" class="thumb_caption" >'.$match[5].'</div>';
}
Maybe its as simple as putting nowrap in the right place, or adding <td nowrap></td>, or something else - but all I've tried just isnt fixing it.

thanks again for the help.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Fabrian on February 27, 2007, 02:44:00 am
Hey Sami, just wondering if you're going to update this plugin as the author has updated a few versions.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: faramir66103 on March 10, 2007, 09:27:33 pm
I just got this plugin installed and really like it.  I was wondering though, instead of launching the Highslide from the thumbnail, could it launch from the intermediate page?  I know this is the reverse of what it's intended to do, but for my uses, I'd rather my viewers go from the thumbnail page to the intermediate page with all of it's features and quick load time.  This is where most of them would stop and move on to the next image.  Then if they want to see the full size pic, click on the intermediate view and launch the highslide view which would come up scaled, but would allow them to view it full size with scollbars etc.  Also, could that initial highslide be larger?

Thanks,
Adam
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Fabrian on March 11, 2007, 07:46:22 am
Hey Sami, just wondering if you're going to update this plugin as the author has updated a few versions.

I forgot..

http://vikjavev.no/highslide/changelog.php
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Davide Renda on March 11, 2007, 09:55:03 am
I forgot..

http://vikjavev.no/highslide/changelog.php
I've downloaded from above link and replaced highslide.js file from the plugin folder with the most recent one (unmodified), all seems to work properly. Can anybody confirm this is the right procedure, or other modifications to the code has to be done?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on March 12, 2007, 06:12:13 am
Yes it's working normally but if you want to use it on some custom theme then you should done some modification (there was some JS conflict)

I'll post new version soon ,

off topic:
I was away for a while and I'm back
My ISP block this site/forum ! I don't know why (they said government rules !!!) so I can't check this forum @ work
Title: Re: Highslide
Post by: nfdieter on March 27, 2007, 10:30:14 am
Hello, my english is very bad ::)

I inserted, marvelously the High Slide module with my gallery! Only unfortunately now the files are not any longer counted, only if one goes evenly on detail and sees the normal picture. Is there a solution there?

Dieter
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Davide Renda on March 27, 2007, 08:44:23 pm
Hello, my english is very bad ::)

I inserted, marvelously the High Slide module with my gallery! Only unfortunately now the files are not any longer counted, only if one goes evenly on detail and sees the normal picture. Is there a solution there?

Dieter

Man, it's clearly advised in the announcement post (the first of this thread), did you not read it? ;-)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: nfdieter on March 28, 2007, 07:43:42 am
   
Apology, I read it, it could have been it a solution gives now.
Greeting Dieter
Sorry for my Question
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on March 28, 2007, 07:48:39 am
Known Issue:
=======
- Image view will not count

@nfdieter: as I already told you in your similar request on the German support board, it is mandatory to read this thread carefully before replying to it. Obviously, you failed to do so.

What you're requesting is a know issue (or missing feature if you want). There's no point in requesting it, as the author is already aware of the fact that it is missing. If there was an easy fix, he would have posted it in the first place.

If you can't live without the couter increasing, then don't use this plugin. There's no need to discuss this further.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: bieme on April 01, 2007, 10:28:40 am
hey guys.

my englisch isn´t realy good, but i try to make you understanding my problem.


is there a possibility to show arrows in the popup, so the users can directly jump to the next or previous picture?

i saw that feature on the author´s homepage http://vikjavev.no/highslide (http://vikjavev.no/highslide).

if there is a way to realize it, let me know it. it would be a very nice feature for me.

thanks
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: bieme on April 04, 2007, 01:41:55 pm
does nobody have an idea?

i don´t think so...
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on April 04, 2007, 02:33:51 pm
does nobody have an idea?

i don´t think so...

Your not the patient kind are you ? Give it some time to have your question answered. It's all done by volunteers so do not expect 24/7 support.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on April 06, 2007, 05:36:32 am
What is the status of SEF compatibility for this plugin? I noticed that there is an option for it in the configuration, but when I enable it, it seems to just turn off the highslide hack and clicking on the thumbnail just brings up the intermediate picture page. Is this how it is supposed to work?
Thanks
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on April 06, 2007, 09:57:14 am
sef_plugin should be enabled before using that feature
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: bieme on April 06, 2007, 10:33:22 am
hi,

i have already a new problem:

i use the script.aculo.us (http://script.aculo.us) javascript library for a nice effect,
but it seems to overwrite the highslide script. so it doesn´t work anymore.

is there a possibility to safe the highslide.js

i have to load all the script.aculo.us scripts, because i don´t know exactly where my small code is located, wich is needed.

can anybody help me.

i know that this question isn´t very good situated in this forum
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on April 07, 2007, 03:50:22 am
sef_plugin should be enabled before using that feature
I have it enabled but it still just goes to the intermediate page
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on April 07, 2007, 06:49:40 am
post a link to your gallery
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on April 07, 2007, 06:16:33 pm
My Gallery (http://www.wiscollectorcar.com/coppermine/cpg132) - I have disabled SEF on the plugin for now so that the gallery will still function as I want it to. Do you see anything obvious on there that would be in conflict? I am using Mehdi's Coppermine Bridge but I have disabled my Joomla SEF for the coppermine dir
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on April 07, 2007, 08:22:14 pm
My Gallery (http://www.wiscollectorcar.com/coppermine/cpg132) - I have disabled SEF on the plugin for now so that the gallery will still function as I want it to. Do you see anything obvious on there that would be in conflict? I am using Mehdi's Coppermine Bridge but I have disabled my Joomla SEF for the coppermine dir
I've got mysql error:
Code: [Select]
Coppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to MySQL server on 'albums.wiscollectorcar.com' (4)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on April 09, 2007, 08:50:18 pm
I've got mysql error:
Code: [Select]
Coppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to MySQL server on 'albums.wiscollectorcar.com' (4)
It works fine now, it must have been a hiccup
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on April 09, 2007, 10:13:05 pm
Plugin is working , as far as I see you are using SEF for coppermine too
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on April 16, 2007, 11:45:53 pm
I recently added a floating sidebar to my site on all pages for logged in users. This includes my coppermine pages. Unfortunately, with this new <div> the highslide plugin will not work, instead you're just taken to the image.

I'm using this code to create the menu:
Code: [Select]
<div id="mini-nav">
<a href="http://www.wiscollectorcar.com" title="Home"><img src="/images/icons/home.png" alt="Home" /></a>
<a href="http://www.wiscollectorcar.com/component/option,com_events/Itemid,88888907/" title="Calendar"><img src="/images/icons/calendar.png" alt="Calendar" /></a>
<a href="http://www.wiscollectorcar.com/forum/index.php" title="Forum"><img src="/images/icons/forum.png" alt="Forum" /></a></div>

And I added this to the header:
Code: [Select]
<style>
body > div#mini-nav {
position: fixed;
}


#mini-nav {
position:fixed;
right:10px;
top:20px;
width:20px;
background-color: white;
border: 1px solid #ccc;
padding: 3px;
line-height: 16px;
}

#mini-nav img {
padding-bottom: 5px;
}

img {
border: none;
}

/* fix IE6 */
#mini-nav{
 position:fixed;
 _position:absolute;
 _top:expression(eval(document.body.scrollTop));
}

</style>

Why would this conflict? How can I fix it? You can log into the Photo Gallery to see the effects yourself by using the following information:
http://photos.wiscollectorcar.com
Username: testaccount
Password: test

Thanks!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Kenshino on April 22, 2007, 06:33:34 am
Does this work with Iframe?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on April 22, 2007, 09:37:15 am
@Garibaldi: Sorry but it seems that you are using newer version of hs Jscript that has some sort of conflict ...

@Kenshino : it should
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Garibaldi on April 27, 2007, 10:11:57 pm
@Garibaldi: Sorry but it seems that you are using newer version of hs Jscript that has some sort of conflict ...

@Kenshino : it should
@ Sami, I installed the version of the highslide script that you provided with this plugin, yet the problem still remains.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: steveski on May 18, 2007, 10:58:09 pm
I have successfully installed Highslide, and it works great.  However, the install from the plugin manager failed.  Seems it couldn't create the highslide.config table, nor could it add the default entry to it.  Even now, if I change configuration options, they don't get saved to the DB table.  Thoughts?  I have no DB issues with coppermine config changes, adding/editing albums, images, etc.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on May 19, 2007, 08:29:24 am
- Try to completely remove and re-install plugin (by using plugin manager) 
- Post a link to your gallery
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: steveski on May 19, 2007, 06:49:03 pm
Now that I got it working, I'm a bit leery about having to do it over by hand again.  Here is a link below.  Could it be the default user that is used, or perhaps that I've upgraded CPG about 5 times (original DB files have cpg132 as prefixes)?

http://www.noizemag.com/coppermine

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: ir803 on May 21, 2007, 12:16:31 am
is there any way this plugin can be altered to open a preview/medium size picture just by moving the mouse over the thumbnail then removing it when the mouse is moved away, similar to the preview effect used on istockphoto's website
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Vincs on May 28, 2007, 10:10:48 am
on the main page of the script (http://vikjavev.no/highslide/)
I see a example with two arrow (previous and next).
That will be include into the plugin one day ?  :P
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rubenix_bcn on June 07, 2007, 05:14:46 pm
Hi All,

I installed the plugin and works perfectly for me but I would like to implement it on the filmstrip...

Any suggestions?? Im not a coder so I dont know  how to do it..  ???

Help please!!

Thanks in advence and congratulations for this great work
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on June 07, 2007, 07:29:26 pm
@ ir803 : It's possible but you need to mod core function of highslide and then you should always preload main images you should ask this feature from main author (Torstein Hønsi (http://vikjavev.no/highslide/))

@Vincs : Yes you have those arrows at next version, actually I'm going to add all new feature of highslide.js to plugin and also I'm going to add view counter (AJAX base) option for those who want to count highslide view

@rubenix_bcn : Sorry but it's not related to this plugin
Actually this plugin comes to Skip intermediate page (read the title) and filmstrip is an intermediate page's content !
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rubenix_bcn on June 08, 2007, 12:13:47 am
@rubenix_bcn : Sorry but it's not related to this plugin
Actually this plugin comes to Skip intermediate page (read the title) and filmstrip is an intermediate page's content !

okey dokey!! I just wanted to add this because I have the link for intermediates activated ( to allow leaving comments ) and once in there would be nice to have hishslide for the pics in the filmstrip...

Anyway, thanks Sami for your quick reply...Im waiting for the new version with those arrows  ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: superdave on June 09, 2007, 05:07:20 pm
hey sami, i just installed this plugin and it's fantastic. no problems at all ... thanks for your hard work!!!!  :)

@Vincs : Yes you have those arrows at next version, actually I'm going to add all new feature of highslide.js to plugin and also I'm going to add view counter (AJAX base) option for those who want to count highslide view

the view counter is a great idea. i noticed that the "number of views" on my gallery doesn't increase when people only use the highslide to view the image ... which is a shame, cause it'd be nice to keep the number of views increasing ...

i'm looking forward to future upgrades.

thanks again

dave
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Vincs on August 02, 2007, 01:09:45 pm
And what about the next version ? I can't wait for it no more  ;D ;D ;D
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: dills84 on August 02, 2007, 05:20:59 pm
i love this plugin.

is there any way i could get the background to Dim when i open a highslide window? if someone could explain it to me that would be great!

my gallery is: www.bleedingshutter.com/models (http://www.bleedingshutter.com/models)

thanks
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on August 04, 2007, 06:45:19 am
And what about the next version ? I can't wait for it no more  ;D ;D ;D
I've ported last release of HS original Javascript to coppermine I've just need some time to add new feature to plugin
as always I've time issue

i love this plugin.

is there any way i could get the background to Dim when i open a highslide window? if someone could explain it to me that would be great!

my gallery is: www.bleedingshutter.com/models (http://www.bleedingshutter.com/models)

thanks
Not an exist feature , it can be done by adding a div and some css and a few lines of javascript ;)
Oh , You are using 1.4.10 which is known to have security issue
You must upgrade to most recent version (currently 1.4.12) ASAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: dills84 on August 04, 2007, 08:01:57 pm
I've ported last release of HS original Javascript to coppermine I've just need some time to add new feature to plugin
as always I've time issue
Not an exist feature , it can be done by adding a div and some css and a few lines of javascript ;)
Oh , You are using 1.4.10 which is known to have security issue
You must upgrade to most recent version (currently 1.4.12) ASAP

thanks for the tip. maybe someday when im more proficient in Javascript i'll figure it out.

i'll have to do that upgrade soon. thanks!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: bbm on August 10, 2007, 04:06:10 am
Sami, thanks for making the plugin.
I can't use it however till it will be able to count hits...  :'(
You mentioned it will be able to in the next version,
I hope this will be very soon... Eagerly awaiting...

I'm willing to send you something for your troubles too :)

If you are interested, my site is www.bombelman.com
CPM 1.4.12

Cheers !!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on August 10, 2007, 07:23:38 am
I'm willing to send you something for your troubles too :)
If your willing to compensate, read the thread "We need your help (http://forum.coppermine-gallery.net/index.php?topic=14227.0)"
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on August 10, 2007, 09:23:54 am
I'm going to release new version next week so you'll get what you want bbm
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Vincs on August 17, 2007, 09:52:55 am
we're next week :D (don't ban me  ::) )
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on August 17, 2007, 11:22:05 am
we're next week :D (don't ban me  ::) )

 ;) Don't forget friday afternoon, saturday and sunday. Patience is a virtue  ;D
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on August 17, 2007, 12:19:44 pm
I'm so busy these days , sorry ...
I'll do my best ;)
Title: Re: Highslide Slideshow
Post by: Gephri on August 21, 2007, 02:24:32 am
Has anyone tweaked this great Mod so that when you exit the slideshow - it'll take you to the picture you exited on... not the beginning of the album?
Title: Re: Highslide Slideshow
Post by: Vincs on August 24, 2007, 11:05:29 am
Has anyone tweaked this great Mod so that when you exit the slideshow - it'll take you to the picture you exited on... not the beginning of the album?
I think you're twisting the slideshow and highslide plugin...
Title: Re: Highslide Slideshow
Post by: tongutd on August 27, 2007, 05:23:51 am
I have some problem about flash movie and selection menu. When my highslides window popup over on the top of my page. Flash movie will over this highslides popup. How I fix it. :'(

This is my page: http://www.chiangmai-luxuryhotels.com/gallery/index.php
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: daverad on August 30, 2007, 02:40:14 am
Hi Tongutd,
You could try adding <param name="wmode" value="transparent"> to the flash file code.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: daverad on August 30, 2007, 03:10:38 am
Hi Everyone,
Has anyone figured out how to modify the highslide plugin (thanks for this great mod, Sami) so it has the same effect background effects as Lightbox2?  I read the post about how the div and css needs to be modified plus a few lines of javascript but was wondering if anyone has succeeded in doing this and would post the specifics.

Any help is appreciated!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: tongutd on August 31, 2007, 04:22:26 am
Hi Everyone,
Has anyone figured out how to modify the highslide plugin (thanks for this great mod, Sami) so it has the same effect background effects as Lightbox2?  I read the post about how the div and css needs to be modified plus a few lines of javascript but was wondering if anyone has succeeded in doing this and would post the specifics.

Any help is appreciated!

Thank you very much Daverad. It's quiet done for me!

Visit holiday photo gallery at http://www.chiangmai-luxuryhotels.com/gallery/
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on August 31, 2007, 05:55:59 pm
Hi,
Hi,

I upgraded to 1.4.12.
It turned out OK - the messages said OK when I ran the update.php.
I accessed my cpg pages - no problem.

Then I installed the Highslide plug-in.
I got a shock !
The next thing I knew was this message on a blank screen:
"Critical error
There was an error while processing a database query"
Now I can't access any cpg page at all - the same blank screen with the error message.

What happened?  Pse help !!
 
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on September 01, 2007, 12:11:57 am
http://coppermine-gallery.net/tutorial/debug_mode.php (http://coppermine-gallery.net/tutorial/debug_mode.php)

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 01, 2007, 07:30:01 am
Hi,

I'm in debug mode now.

I see the debug info.

However, it contains my database password.

Is it safe for me to post the debug info here using a pseudonym for my database password?

Pse advise.   Thanks.

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 01, 2007, 07:37:28 am
Hi again,

I just noticed - the debug info can be accessed by going to my website.
Is there  a security risk here?

Worried.

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on September 01, 2007, 09:57:23 am
Post the info so i or a other supporter can take a look at it. Make sure to put *** in the places where you think database passwords are mentioned.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 01, 2007, 12:26:59 pm
Hi Hein,

Here's the critical error message:

"While executing query "SELECT * FROM cpg148_highslide_config" on 0

mySQL error: Table *****.cpg148_highslide_config' doesn't exist"


(I have used "*****" to represent my database password.)

Immediately following this message, there's mention of the file: "File: /home/photogr1/public_html/include/functions.inc.php - Line: 249 "



Also, the debug info that follows:

Code: [Select]
USER:
------------------
Array
(
    [ID] => 38a93fbde8bbbad25ce69026ba1284c4
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 1512
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 0
    [user_name] => Guest
    [groups] => Array
        (
            [0] => 3
        )

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

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg148_filetypes; (0s)
    [1] => select * from cpg148_plugins order by priority asc; (0s)
    [2] => delete from `*****`.cpg148_sessions where time<1188620560 and remember=0; (0s)
    [3] => delete from `*****`.cpg148_sessions where time<1187414560; (0s)
    [4] => select user_id from `*****`.cpg148_sessions where session_id=md5("c1314f6216bec0106f042b43f954e1d2bcb8bea4b2a2ffef6400f82e0a963413"); (0s)
    [5] => SELECT session_id FROM `*****`.cpg148_sessions WHERE session_id=MD5('15c1fbe15aca5bd04c456f4ff0e0543ebcb8bea4b2a2ffef6400f82e0a963413') (0s)
    [6] => insert into `*****`.cpg148_sessions (session_id, user_id, time, remember) values ("858fbc0777b8c69e7a127cccc7955150", 0, "1188624160", 0); (0s)
    [7] => 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 cpg148_usergroups WHERE group_id in (3) (0s)
    [8] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 3 (0s)
    [9] => update `*****`.cpg148_sessions set time='1188624160' where session_id=md5('15c1fbe15aca5bd04c456f4ff0e0543ebcb8bea4b2a2ffef6400f82e0a963413'); (0s)
    [10] => SELECT * FROM cpg148_highslide_config (0s)
)

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

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

==========================
Page generated in 0.063 seconds - 11 queries in 0 seconds - Album set : ; Meta set: ;


Edit By Sami:
Put debug info to code block
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 01, 2007, 12:39:13 pm
Hi Hein,

The error message mentioned cpg148.
Could this indicate the source of the problem ?
I had upgraded to 1.4.12 and it worked fine until I installed the highslide plug-in.


Just a thought...


Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 01, 2007, 12:42:50 pm
did you using highslide before upgrade or this is the first time that you are using plugin ?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 01, 2007, 12:53:52 pm
Hi Sami,

I had uploaded Highslide, installed it, then uninstall, before I upgraded to cpg 1.4.12.


After upgrading to cpg 1.4.12, I tried to install the plugin again - and ran into the problem.




Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 01, 2007, 12:59:46 pm
Okay then you didn't uninstall it properly at the first,
Use a mysql tool such as phpmyadmin and remove highslide_enable from XXX_config table of CPG
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 01, 2007, 01:14:58 pm
Hi Sami,
OK.  I've removed the "highslide_enable" file from my ***_config table.

While doing this, I  noticed that all my tables has the prefix  cpg148.
Isn't this suppose to be cpg 1412  after upgrading?

After upgrading, I actually saw the "new" cpg files - I know because the theme colours were changed.
Isn't this an indication that the files were actually successfully uploaded?

Pse let me know what's next for me to do.

Thanks Sami for your help.



Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 01, 2007, 01:27:23 pm
Your table prefix is fine , upgrade process doesn't need to change the table's prefix

After upgrading, I actually saw the "new" cpg files - I know because the theme colours were changed.
Isn't this an indication that the files were actually successfully uploaded?
if you were using a custom theme then yes , it means that you over write on your custom theme with original one that comes with CPG

Your next move would be
- Removing highslide from xxx_plugins table (by phpmyadmin)
- re-installing the plugin again
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 01, 2007, 04:23:05 pm
Hi Sami,
You are a god-send!.
I followed your instructions and am now able to access all my cpg files.

Thank you once again !!

Now, I gotta go back to Vuud - I have a problem with cpmfetch - the image on my html page won't upload after I upgraded.


Thankssssss....

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 02, 2007, 06:13:36 am
Hi Sami,

I need help again.

I tried to reinstall the Highslide plugin via plugin manager.
A page appeared and said click button to install.
I did that and there was an error message.

When I tried to press "install" a second time, the same problem encountered earlier surfaced - there is this blank screen with the message:
"Critical error
There was an error while processing a database query"

What could be the problem? 
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 02, 2007, 08:25:10 am
- First of all give me a link to your gallery
- Enable debug mode so you could see the actual DB error
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 02, 2007, 03:48:07 pm
Hi Sami,

Here's the link to my website:  http://www.photograffs.com
(hope I understood what you mean).

Here's the debug info:

Code: [Select]
"USER:
------------------
Array
(
    [ID] => bc9c093262d726da656ddd2b1723978d
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 1686
            [1] => 1682
            [2] => 1684
            [3] => 1542
            [4] => 1535
        )

)

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

    [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] => 5
    [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 cpg148_filetypes; (0.084s)
    [1] => select * from cpg148_plugins order by priority asc; (0.003s)
    [2] => delete from `*****`.cpg148_sessions where time<1188736858 and remember=0; (0.001s)
    [3] => delete from `*****`.cpg148_sessions where time<1187530858; (0.006s)
    [4] => select user_id from `*****`.cpg148_sessions where session_id=md5("7a896934d7d8362dbccb725450f61ec4bcb8bea4b2a2ffef6400f82e0a963413"); (0.005s)
    [5] => select user_id as id, user_password as password from `*****`.cpg148_users where user_id=1 (0.013s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `*****`.cpg148_users AS u INNER JOIN `*****`.cpg148_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.021s)
    [7] => SELECT user_group_list FROM `*****`.cpg148_users AS u WHERE user_id='1' and user_group_list <> ''; (0.01s)
    [8] => 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 cpg148_usergroups WHERE group_id in (1) (0.006s)
    [9] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 1 (0.004s)
    [10] => update `*****`.cpg148_sessions set time='1188740458' where session_id=md5('7a896934d7d8362dbccb725450f61ec4bcb8bea4b2a2ffef6400f82e0a963413'); (0.006s)
    [11] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 1 (0.004s)
    [12] => DELETE FROM cpg148_banned WHERE expiry < '2007-09-02 21:40:59' (0.005s)
    [13] => SELECT * FROM cpg148_banned WHERE (ip_addr='165.21.155.76' OR ip_addr='116.14.84.102' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT COUNT(*) FROM cpg148_pictures WHERE approved = 'NO' (0s)
    [15] => SELECT value FROM cpg148_config WHERE name = 'theme' (0s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.0.16
------------------
Coppermine version: 1.4.8(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 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
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.16
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql/include/mysql
MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3
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/local/lib/php | .:/usr/local/lib/php
open_basedir | /home/photogr1/:/usr/lib/php:/usr/local/lib/php:/tmp:/var/tmp:/home/vdeck/tmp/:/usr/local/bin/mogrify:/usr/local/bin/convert:/usr/sbin/sendmail | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
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 | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 5M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.282 seconds - 16 queries in 0.168 seconds - Album set : ; Meta set: ;"

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 02, 2007, 04:07:04 pm
- Post a test account so I could login
- I didn't ask for debug info , I said enable it so you could see the actual error instead of "There was an error while processing a database query"
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 03, 2007, 07:48:45 am
HI Sami,

Created test account:
username: ***
password: ***

I've enabled debug mode.

Thanks.

Edit by Sami:
Removed username/Password for security
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 03, 2007, 10:39:26 am
Never post an admin account to public board !
You are using mysql 4.0.16 that doesn't support ENGINE option on table creation so you need to manually edit  schema.sql that comes with highslide package and remove ENGINE=MyISAM from creation query and then try to install the plugin
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 03, 2007, 02:13:53 pm
Ops..done the unthinkable...
Thanks Sami.

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 03, 2007, 02:28:54 pm
Hi Sami,

I did as you suggested, manually edited Schema.sql - deleted ENGINE=MyISAM - and then tried to install plugin.
It didn't work. Got the same error message   :(
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 03, 2007, 02:35:52 pm
post mysql error here
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 03, 2007, 02:49:17 pm
Sami,

I got this from the debug info:

Code: [Select]
USER:
------------------
Array
(
    [ID] => bc9c093262d726da656ddd2b1723978d
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 867
            [1] => 881
            [2] => 880
            [3] => 885
            [4] => 264
        )

)

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

    [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] => 5
    [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 cpg148_filetypes; (0s)
    [1] => select * from cpg148_plugins order by priority asc; (0s)
    [2] => delete from `*****`.cpg148_sessions where time<1188819725 and remember=0; (0.001s)
    [3] => delete from `*****`.cpg148_sessions where time<1187613725; (0.001s)
    [4] => select user_id from `*****`.cpg148_sessions where session_id=md5("993397a718ee53cb95c35f7aa5486157bcb8bea4b2a2ffef6400f82e0a963413"); (0s)
    [5] => select user_id as id, user_password as password from `*****`.cpg148_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `*****`.cpg148_users AS u INNER JOIN `*****`.cpg148_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `*****`.cpg148_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => 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 cpg148_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 1 (0s)
    [10] => update `*****`.cpg148_sessions set time='1188823325' where session_id=md5('993397a718ee53cb95c35f7aa5486157bcb8bea4b2a2ffef6400f82e0a963413'); (0s)
    [11] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg148_banned WHERE expiry < '2007-09-03 20:42:05' (0s)
    [13] => SELECT * FROM cpg148_banned WHERE (ip_addr='165.21.155.69' OR ip_addr='116.14.67.135' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = ''  ORDER BY pos (0s)
    [15] => SELECT aid FROM cpg148_albums as a WHERE category>=10000 (0s)
    [16] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
    [17] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '1'  ORDER BY pos (0s)
    [18] => SELECT aid FROM cpg148_albums as a WHERE category = '0' (0s)
    [19] => SELECT count(*) FROM cpg148_albums as a WHERE 1 (0s)
    [20] => SELECT count(*) FROM cpg148_pictures as p LEFT JOIN cpg148_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
    [21] => SELECT count(*) FROM cpg148_comments as c LEFT JOIN cpg148_pictures as p ON c.pid=p.pid LEFT JOIN cpg148_albums as a ON a.aid=p.aid WHERE 1 (0s)
    [22] => SELECT count(*) FROM cpg148_categories WHERE 1 (0s)
    [23] => SELECT sum(hits) FROM cpg148_pictures as p LEFT JOIN cpg148_albums as a ON p.aid=a.aid WHERE 1 (0s)
    [24] => SELECT COUNT(*) FROM cpg148_pictures WHERE approved = 'NO' (0s)
    [25] => SELECT count(*) FROM cpg148_albums as a WHERE category = '0' (0s)
    [26] => SELECT count(cpg148_albums.aid) FROM cpg148_pictures,cpg148_albums WHERE cpg148_pictures.aid = cpg148_albums.aid AND approved = 'YES'  GROUP  BY cpg148_pictures.aid (0s)
    [27] => SELECT *,cpg148_albums.title AS title,cpg148_albums.aid AS aid FROM cpg148_pictures,cpg148_albums WHERE cpg148_pictures.aid = cpg148_albums.aid AND approved = 'YES'  GROUP BY cpg148_pictures.aid ORDER BY cpg148_pictures.ctime DESC  LIMIT 0 ,9 (0s)
    [28] => SELECT count(*) from cpg148_comments where pid=1680 and msg_id!=0 (0s)
    [29] => SELECT count(*) from cpg148_comments where pid=1524 and msg_id!=0 (0s)
    [30] => SELECT count(*) from cpg148_comments where pid=1509 and msg_id!=0 (0s)
    [31] => SELECT count(*) from cpg148_comments where pid=1481 and msg_id!=0 (0s)
    [32] => SELECT count(*) from cpg148_comments where pid=1477 and msg_id!=0 (0s)
    [33] => SELECT count(*) from cpg148_comments where pid=1471 and msg_id!=0 (0s)
    [34] => SELECT count(*) from cpg148_comments where pid=1457 and msg_id!=0 (0s)
    [35] => SELECT count(*) from cpg148_comments where pid=1448 and msg_id!=0 (0s)
    [36] => SELECT count(*) from cpg148_comments where pid=1429 and msg_id!=0 (0s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.0.16
------------------
Coppermine version: 1.4.8(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 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
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.16
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql/include/mysql
MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3
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/local/lib/php | .:/usr/local/lib/php
open_basedir | /home/photogr1/:/usr/lib/php:/usr/local/lib/php:/tmp:/var/tmp:/home/vdeck/tmp/:/usr/local/bin/mogrify:/usr/local/bin/convert:/usr/sbin/sendmail | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
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 | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 5M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.116 seconds - 37 queries in 0.002 seconds - Album set : ; Meta set: ;
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on September 04, 2007, 12:37:25 pm
Hi Sami,
I tried again loading the higslide plugin.
It worked !

Thank you so much for the help and patience in setting things right.

Highslide is an excellent and wonderful feature, no doubt about it.

Thank you so much for that !!

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: daverad on September 09, 2007, 09:42:22 am
Hi all,
For those of you that are interested in combining the darkening page effects similar to lightbox with HighSlide I have posted a solution on the author's website.

http://vikjavev.no/highslide/forum/viewtopic.php?p=3147#3147

This is for version 3.2.5.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 09, 2007, 09:53:26 am
Thanks for contribution :)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: daverad on September 09, 2007, 12:01:41 pm
Glad to help.

Sami, I have been trying to implement the lightbox effect into the current plugin (v 2.3)  but with no luck so far.  Do you think that the new version you mentioned that you are working on will be easier to modify since the code may be much closer to Torstein's latest version?

Thanks for your time.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 09, 2007, 12:04:25 pm
I have to change Torstein's code duo to exist conflict between other JScript and highslide , I'll review your code to see if i could change it to fit in plugin
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: daverad on September 09, 2007, 12:25:05 pm
Thanks, Sami.
After playing around with this a bit, I am wondering if the problem is in the highslide.js file.  The one that I modified in version 3.2.5 is
Code: [Select]
HsExpander.prototype.changeSize = function(dir, x1, y1, w1, h1, x2, y2, w2, h2, dur, steps, oo1, oo2) {
if (dir == 1) DarkenPage();
else LightenPage();
var dW = (w2 - w1) / steps,
dH = (h2 - h1) / steps,
dX = (x2 - x1) / steps,
dY = (y2 - y1) / steps,
dOo = (oo2 - oo1) /steps,
t,

But the corresponding code in the plugin version 2.3 is
Code: [Select]
cpghs_changeSize : function (key, newWidth, newHeight, newLeft, newTop) {

    try {

After the word "function" it doesn't mention the "dir" variable which is referenced when darkening a page. Perhaps the problem is here, but not being a programmer I am not sure how to fix this.

Thanks again for your time.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 09, 2007, 01:10:10 pm
Torstein change his core code so it's a bit different here
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: daverad on September 12, 2007, 06:47:21 am
Hi Sami,
Do you know how I might be able to integrate the new version of highslide with the lightbox effect into coppermine without using the plugin?  The reason that I am asking is that I have a client who wants to have this effect along with lightbox on their gallery and the launch of their website is coming up quite soon. I know that you are working on the new plugin (in between the paying work! ) and am sure that is a lot of work for you.

Any help is appreciated!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 12, 2007, 07:04:38 am
You need to code your plugin based on this plugin and use new highslide.js
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: daverad on September 13, 2007, 09:43:37 am
Would it just be modifying the the variables in the new highslide.js file similar to the highslide.js file in your plugin? Do you think I would need to modify any other files. (I haven't made a plugin before)

Example: changing graphicsDir

to

cpghs_graphicsDir

Thanks!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on September 13, 2007, 10:21:39 am
Yes just add cpghs_ to every single variable and function
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: russell235 on September 24, 2007, 06:52:58 pm
I added the highslide script to my forums, and really enjoyed what i saw, so I decided to attempt the same in my coppermine gallery, but failed miserably.  I found a link from vikjavev.no/highslide/ that brought me to this thread.  The plugin didn't work for me, but the help you gave others helped me as well and now it's working great.  Thank you very much.  :)

A couple of things to point out - selecting bordless doesn't really make it borderless.  I hade to change line 225 of codebase.php from "border: 2px solid white;" to "border: none;".  The rest can be done from the highslide.css file.

For some it may be seen as a hindrance to have to click the intermediate image before you can continue to the details.  For instance, if it's my image, I don't really need to see the intermediate image, but I'm more interested in going directly to the comments, etc...  My original plan was to make a link under each thumb that would take you to the details page, bypassing the intermediate step.  Perhaps a similar option you might want to consider when making future updates.

either way, the script and the plugin are both great.  Currently it's the only plugin I have on the gallery.  :)

Thanks again

Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on October 25, 2007, 04:48:05 pm
Thanks to Sami for the great plug. Been a long time no changes to highslide plug in, so I decided to do a new version (hope Sami won't kill me for that) to better suit my own needs - probably it's interesting for others, too.

============================================= v2.4 - 2007/10/25 - 18:00 GMT
by Timos-Welt (http://www.timos-welt.de)

New features:
=============
- German language added
- Latest version of highslide.js by Torstein Hnsi (3.2.10), this will give you
  - better optics
  - better browser compatibility
  - animation uses less resources, especially with IE
  - fixed memory leak with IE
  - no more flickering in IE 7
  - For more information about changes of the java script, see http://vikjavev.no/highslide
- All css stuff is now in include/highslide.css to make it easier to adapt the optics
  to your own needs.

Missing features from prev. version:
====================================
- I did _not_ change function and variable names in highslide.js to cpghs_... - if the plug in
  gives you javascript errors, please use v2.3 instead!

Fixes:
=======
- Fixed invalid XHTML if one thumbnail was diplayed twice on index page
  (e. g. in last uploaded _and_ top rated) by using $iCaptionCounter variable
  to avoid equal id attributes.
- Now compatible with funny file names if you want. Previous versions would not
  open intermediate but full size picture if filename contained special
  characters (e. g. space, (, ), [, ] ...) - Coppermine can cope with these
  file names, so the plug in should as well. There's an additional option
  on the configuration page now to force highslide to always open the inter-
  mediate size. Better way would be to use an alternative to is_file, but I didn't
  find one. Come on you PHP experts! ;)
- highslide.js is delivered in a packed and unpacked version to save load time.
  If you want to do changes (e. g. change the slide parameters), use the un-
  packed version and rename it to highslide.js
- Parameter 'Apply to index & meta albums' and 'Apply to all pages' were wrong
  way round; changed these in the language files.

Known Issues:
==========
- Image view will still not count
- Will not work if you have custom title on thumbnails!
- Slightly different optics between IE, Firefox and Opera when using Caption (CSS problem?)

Installation:
=========
- De-install any previous version, delete the database table if asked.

You can find a demo of v2.4 at http://pics.timos-welt.de

Remember to have fun!  ;)
regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 25, 2007, 06:35:54 pm
Thank you very much Timo for your contribution  :)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on October 25, 2007, 09:00:21 pm
Timos-Welt thanks for this update. I sure Sami does not mind  ;)

@Sami. When i uploaded this highslide, or your 2.3, i get a error from plugin manager saying there was a critical error while retrieving data from the database.

The only thing i did lately was moving cpg from root to /cpg folder. Did i mis anything while doing that which now causes this error ?

Cheers
Hein
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 26, 2007, 07:14:51 am
Enable Debug mode and post actual error
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on October 26, 2007, 08:41:09 am
Code: [Select]
While executing query "SELECT * FROM cpg1410_highslide_config" on 0

mySQL error: Table 'sn1275.cpg1410_highslide_config' doesn't exist

Sami, i am not a mysql wizzard but i erased every mentioning of highslide in the db. Reuploaded a freshly downloaded highslide and stil get this. What could be wrong ?

Cheers
Hein
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 26, 2007, 10:01:11 am
Uninstall plugin and try to install it again
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on October 26, 2007, 10:49:33 am
Can't even do that. When i upload the highslide folder to the plugins folder and then go the admin side of my cpg it locks up displaying the error.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 26, 2007, 12:25:45 pm
Ok ,then manually remove highslide from xx_plugin table and then re-install it ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on October 26, 2007, 12:54:43 pm
Sorry, forgot to mention i did that already. Deleted the highslide entry in mysql, reuploaded all. Now i got a install button and when i click that the same thing happens.

Do you want debug attached to a post ?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 26, 2007, 01:42:00 pm
No
Sorry forgot to mention
Please also remove highslide_enable from xxx_config
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on October 26, 2007, 02:02:29 pm
I owe you a coffee Sami, never thought about looking in that table. Thanks, it's working again!

(maybe update the first post a bit ?)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on October 26, 2007, 03:08:32 pm
The problem raise when user manually remove plugin instead of uninstalling it
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on October 27, 2007, 11:28:08 am
To circumvent this issue, you may add a check to the install routine that determines if the entry in the config table already exists.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on October 27, 2007, 05:25:34 pm
So here's the next version ;) :

============================================= v2.5 - 2007/10/27 - 17:00 GMT
by Timos-Welt (http://www.timos-welt.de)

New features:
==========
- New Option to count views via Highslide as real views, so picture counter increases
  accordingly (experimental)
  IMPORTANT: For this to work, you MUST copy hscnt.php to your gallery root!

Still missing features from v 2.3:
========================
- I did _not_ change function and variable names in highslide.js to cpghs_... - if the plug in
  gives you javascript errors, please use v2.3 instead!

Fixes:
====
- Slightly different optics between IE, Firefox and Opera when using Caption (fixed)

Known Issues:
==========
- Parameter 'Apply to index & meta albums' and 'Apply to all pages' are wrong
  way round when not in SEF compatibility mode
- Will still not work if you have custom title on thumbnails

Install:
=====
- Completely remove previous version via PlugIn manager page. If asked, delete settings table.
- Upload highslide folder to plugins folder.
- Upload hscnt.php to your gallery root.
- Install via PlugIn manager page.

To Come:
=======
Next Version will have a bunch of completely different layouts for the hs window easily selectable and with example images, a completely new and easier settings page, and the fix gaugau mentioned in the previous post.

Demo of v2.5:
==========
http://pics.timos-welt.de

Remember to have fun!  ;)
regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on October 27, 2007, 07:14:10 pm
New features:
==========
- New Option to count views via Highslide as real views, so picture counter increases
  accordingly (experimental)
  IMPORTANT: For this to work, you MUST copy hscnt.php to your gallery root!

Installed 2.5 and it works. It now also counts the number of views. Good job Timos  ;D

Cheers
Hein
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on October 27, 2007, 11:22:59 pm
Thanks Hein, glad that it works for you! :)

Please keep in mind, that you may _not_ exchange highslide.js to the one you can download at http://vikjavev.no/highslide because I had to remove a function for preload of pictures; else every preload would have been counted as picture view.

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Gephri on October 29, 2007, 10:36:19 am
I'd like to update to the latest but my previous version of highslide.js had the following onload event added - so as to work with other mod(s):
Code: [Select]
// MY onload handler
hs.cpghs_graphicsDir = '/gallery/plugins/highslide/graphics/';
hs.cpghs_loadingText = 'Loading...';
hs.cpghs_loadingTitle = 'Click to cancel';
hs.cpghs_restoreTitle = 'Click to restore thumbnail';
hs.cpghs_outlineType = 'rounded-white';
window.onload = function() {
hs.cpghs_preloadImages();
  }

If I use the latest version - then when a picture is clicked the loading just goes on and on (with no action)
If I use MY previous version - I get the image to popup but its not formatted or acting with the smooth Highslide opening

Can you tell me how I should fix this?

Thanks!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on October 29, 2007, 05:18:18 pm
Delete any cpghs_ from the code you pasted, and it should work. See changelog:

> Still missing features from v 2.3:
> ========================
> - I did _not_ change function and variable names in highslide.js to cpghs_... - if the plug in
>  gives you javascript errors, please use v2.3 instead!

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Gephri on October 29, 2007, 10:17:58 pm
perfect Timo - thanks!
counter works great too!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on October 29, 2007, 10:36:25 pm
Why not... here's v 3.0, and I hope you will love it as much as I do :)

============================================= v3.0 - 2007/10/29 - 22:30 GMT
by Timos-Welt (http://www.timos-welt.de)

New features:
==========
- Shorter URLs when 'count slide views as real views' turned on
- New config page with graphical color selection
- File names with special characters won't prevent loading of intermediate pictures
  (experimental)
- New layout 'Beleved'
- Selectable colors, animation speed and resolution

Still missing features from v 2.3:
========================
- I did _not_ change function and variable names in highslide.js to cpghs_... - if the plug in
  gives you javascript errors, please use v2.3 instead!
- I have no idea of JavaScript, so I simply can't do that.  ??? If you know JavaScript, feel free
  to change these beasts and mail them to me ( Timo at timos-welt.de ).  :)

Fixes:
====
- Parameter 'Apply to index & meta albums' and 'Apply to all pages' were wrong
  way round when not in SEF compatibility mode - fixed
- Broken links to authors on config page - fixed
- Option 'Count views via Highslide as real views' used to count several times
  with Opera browser. In Opera, the picture counter was increased the 1st time
  when loading the thumbnail page without doing anything else, the 2nd time when
  clicking on a thumb to enlarge it, the 3rd time when clicking on the enlarged
  pic to reduce it to thumb size. From now on, Opera users will not be
  counted via HighSlide at all, preventing false statistics. I have checked
  several other browsers (IE, FF, Safari) - none of them behaves this way - fixed
- Invalid XHTML with certain file names - fixed
- Moving 'loading' animation is finally back


Known Issues:
===========
- Will not work if you have custom title on thumbnails
- If 'Link to intermediate' is set to 'yes', and visitor clicks on 'detail' link,
  image counter will increase again, so his view will be counted twice.

To Do:
=====
- Better installation protection if old version wasn't uninstalled correctly.

Install:
=====
- Completely remove previous version via PlugIn manager page. If asked, delete settings table.
- Upload highslide folder to plugins folder.
- Upload hscnt.php to your gallery root.
- Install via PlugIn manager page.

Demo of v3.0:
==========
http://pics.timos-welt.de
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: eka on October 30, 2007, 03:30:39 am
I must thank Sami again for the wonderful Highslide feature.

Just a thought, is it possible to include the title in the image that pops up.
I know the title is already given just below the thumbnail.
But if it can be shown on the pop up as well, it would be great (at least for me).

I've no idea what needs to be amended in the codes.

Appreciate it if you can help.  Thank you.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Tabbo on October 30, 2007, 03:13:38 pm
First: great Plug-in!

Just two little things: just upgraded from Highslide 2.3 to 3.0. Now the perfomance when sliding is worse in Firefox, than with 2.3. In Internet Explorer the performance is fine. Any ideas why?

Then another feature would be nice: A big/small button, so that you can choose from inside of the slide, which size you prefer. I want something like this: you click on the image, the image shows in intermediate size. Now you can click on a button to make the slide original size. When you press the button again it toggles back to intermediate size. With that little feature this plug-in would be perfect.

Anyway: great work! Keep it going on....


Greets,
Tabbo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on October 30, 2007, 03:56:55 pm
>First: great Plug-in!

Thanks!

>Now the perfomance when sliding is worse in Firefox, than with 2.3

Try these settings:
* Expand Steps: 10
* Expand Duration: 250
* Restore Steps: 10
* Restore Duration: 250
That's the fixed settings that came with v2.3.

Between v2.3 and v3.0 of this plugin, there were more than 30 different versions of the original highslide.js script. It's quite probable that the script has been modified in a very intensive way by the author Torstein Hønsi, so v3.0 may perform very differently to v2.3 (well, it doesn't here, but it may).

The latest version is surely the best option, because of the loads of bugs and fixes Torstein implemented, and because browser compatibility of the v2.3 version (highslide.js v 2.0.2 was released in September 2006) isn't the best possible. Have a look at the change log for details (http://vikjavev.no/highslide/changelog.php).

You could also try the unpacked version of the script (rename highslide.js to highslide_packed.js and highslide_unpacked.js to highslide.js; would be interesting, if performance is altered by the compression.

>A big/small button, so that you can choose from inside of the slide, which size you prefer.

If you select full size and the pic is larger than the browser window, it will be shrinked to fit, and after half a second a symbol will appear in the lower bottom corner to enlarge it to real size. That's all the script can do ATM.

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on October 30, 2007, 08:25:03 pm
Timo,

Great work on improving the plugin Sami started. I do have one little issue. When i go to the HighSlide config and choose a different colour for the frame etc.. after saving the settings it always goes back to default. Did i mis setting an option ?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on October 30, 2007, 08:41:03 pm
Hello Hein,

custom colors only work for the square styles, not for rounded white and not for beleved, because they don't make sense there IMHO. Have a look what's written behind the style names in style drop down menu. ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on October 30, 2007, 09:02:04 pm
I knew it.. lacking coffee i guess. In between jobs so i don't get my usual amount ;) Thanks.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Tabbo on October 31, 2007, 12:12:34 pm
Quote
You could also try the unpacked version of the script (rename highslide.js to highslide_packed.js and highslide_unpacked.js to highslide.js; would be interesting, if performance is altered by the compression.

Tried it. There is no impact on the performance in Firefox. Sorry: I am not able to help anymore, as I am migrating to Gallery2. It has better rights management than coppermine.

Anyway thanks for the help....
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on October 31, 2007, 01:03:57 pm
Seems to be a firefox windows problem only, my linux version works as expected. I'll report this to Torstein ASAP. Thanks for checking, and good luck with gallery2.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on October 31, 2007, 07:45:12 pm
Note: In the meantime, a new version 3.03 has been released, look here (http://forum.coppermine-gallery.net/index.php/topic,36558.msg249466.html#msg249466).



If there won't be found an evil bug in this version, it will be the last version released by me. I've done all that my PHP knowledge allows me to do (and I don't know _anything_ of PHP! ;) ). I really hope development of this fine product goes on in the future. If this one is stable, Sami could update the first post of this thread accordingly if he likes to.


============================================= v3.01 - 2007/10/31 - 18:00 GMT
by Timos-Welt (http://www.timos-welt.de)

New features:
==========
- Bunch of new rounded layouts in different colors
- Preview function and quite some JavaScript stuff on config page
Edit 2007/11/08:
- Dutch language added (thanks to Harald)

Fixes:
====
- Bad performance using Opera with 'count hs views as real views' turned on - fixed

Still missing features from v 2.3:
=======================
- I did _not_ change function and variable names in highslide.js to cpghs_... - if the plug in
  gives you javascript errors, please use v2.3 instead!
- I have no idea of JavaScript, so I simply can't do that. If you know JavaScript, feel free
  to change these beasts and mail them to me ( Timo at timos-welt.de ).
   
Known Issues:
===========
- Will not work if you have custom title on thumbnails!

Install:
=====
If you already have 3.0 installed, simply overwrite highslide folder with the one included.
If not:
1. Uninstall any previous version.
2. Delete settings table if asked.
3. Copy Highslide folder to your plugins folder.
4. Copy hscnt.php to your gallery root.
5. Use plugin manager to install it.


Always remember to have fun!  ;)
regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on November 01, 2007, 09:19:50 am
Tested it on my own cpg site and it works. I really like the preview function which you build into this latest version  ;) Good work Timo.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Sami on November 01, 2007, 09:32:41 am
Initial thread Updated with reference to Timo's ver3.01 ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on November 01, 2007, 09:34:29 am
Thanks Hein (found that neat orange style yet?)  ;D

Thanks Sami!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: hlabout on November 08, 2007, 09:42:07 am
Timo,

Thanx for this great plugin update.
Really like it now.

Made a dutch language file translation, perhaps someone likes it.

Harald

www.haraldlabout.nl/fotografie
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on November 08, 2007, 01:36:36 pm
Thanks Harald,

I've updated the ZIP file.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: strzelec4 on November 16, 2007, 01:14:10 am
Is it possible to have EXIF jpg data (ex. iso, f stop) on a highslide popup window under the picture? I currently have filename,filesize ,data added, but I would really love to be able to add EXIF data.  Thanks for response.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: holyworld on November 16, 2007, 11:16:09 pm
great plugin.. but here two questions:

--> is there a way to disable it for Videos or Youtube movies?

--> the latest version fails to work. V2.3 worked fine.. then completely uninstalled, and V3.01 installed..
      When clicking on a pic, the loading appears.. and thats it.. nothing else (have played with all kind of config options...)

Any ideas?

Thanks a lot!

Cheers
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: bbm on November 19, 2007, 04:27:07 pm
Excellent plug-in !
Please accept my donation for your time and effort (even if my site is non-commercial).

I really like that the hit-counter keeps working. It is very important for my site and it
was the reason for not installing it earlier.

I got the plugin to work and works fine. Sometimes the browser crashes after updating
the settings, but I will test some more to see if it's not a browser/firewall issue.

Question: Can you make it possible that the last items clicked also show up under "last viewed" ?

Cheers !
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on November 20, 2007, 11:48:00 am
holyworld wrote:
>the latest version fails to work. V2.3 worked fine.. then
>completely uninstalled, and V3.01 installed.. When clicking
>on a pic, the loading appears.. and thats it.. nothing else
>(have played with all kind of config options...)

If 3.01 doesn't work for you, it's most probably a concurrating Javascript in your Theme/Addon/Modpack. In this case, you'll have to use 2.3.

>Question: Can you make it possible that the last items clicked
>also show up under "last viewed" ?

I'll have a look at it for next version of the plugin, but this will take some time, at least until next Highslide javascript version is out.

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Aidik on November 20, 2007, 10:47:25 pm
Hi, since I upgraded to CPG 1.4.14, Highslide has stopped working. What's more: thinking it was because I might need HS v3.01, I uninstalled v2.3, and even though I uploaded the highslide folder into my plugins directory, Highslide doesn't appear in the Plugin Manager at all.

Has anyone else had this problem?

Thanks
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: bbm on November 21, 2007, 10:38:53 am
Since using Highslide, the intermediate page gets viewed less.
I would like to know to which page I can add the Google Analytics code
so that the hit-counter keeps on working and counting each time that
a pic is opened with Highslide.

The code is HTML, can I just use this code in a HTML page ?


Thanks !

<html>
<body>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">_uacct = "XX-XXXXXXX-X";urchinTracker();</script>

</body>
</html>


EDIT: Might have got something with minor changes. Still testing it out and will post the results shortly.
I also manages to put only the view-counter below the pic (in highslide) but it did not look that nice to me.
Anyone know how I just put selecter attributes below a pic ?

Thanks !
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: holyworld on November 22, 2007, 09:54:46 pm
Timos-Welt,

thanks for your tip.

The fix is:

make sure, that you have in your template the following line:
Code: [Select]
<script type="text/javascript" src="scripts.js"></script>

If its missing.. it will not work...  THANKS!

Remaining issue: How to disable it for youtube or other videos.. the low res pictures shows up correctly.. but not nessary.. as you want to go straight to the full view.

Cheers
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: LarsP on December 11, 2007, 11:16:42 am
To type it first: I love this PlugIn!
Now, heading over to the installed stuff:
- Coppermine Photo Gallery 1.4.9 (stable)
- Theme: fruity (changed by me)
- no other mods/PlugIns
And now the bad news.
I used to use the V2.3 of HJighSlide. Now I wanted to update to V3.01. Uninstalled the old PlugIn, erased the tables, removed the folder and installed the new one. Everything worked fine, until I clicked on a thumbnail to expand it. The thumbnail page disappeared and the picture was displayed on a blank screen (as using "Bild anzeigen" via Right-Click on a picture). Can anyone tell me what ist happening? I tried all version down to 2.4, unless I had to re-install V2.3. I just want the 'counting'-feature to get to work.
Help would be wonderful...
Stay healty and please keep on developing such great stuff...
Lars
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on December 11, 2007, 04:46:35 pm
stuff:
- Coppermine Photo Gallery 1.4.9 (stable)

Upgrade to 1.4.14 a.s.a.p.  :D
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on December 11, 2007, 05:36:25 pm
To type it first: I love this PlugIn!
Now, heading over to the installed stuff:
- Coppermine Photo Gallery 1.4.9 (stable)
- Theme: fruity (changed by me)
- no other mods/PlugIns
And now the bad news.
I used to use the V2.3 of HJighSlide. Now I wanted to update to V3.01. Uninstalled the old PlugIn, erased the tables, removed the folder and installed the new one. Everything worked fine, until I clicked on a thumbnail to expand it. The thumbnail page disappeared and the picture was displayed on a blank screen (as using "Bild anzeigen" via Right-Click on a picture). Can anyone tell me what ist happening? I tried all version down to 2.4, unless I had to re-install V2.3. I just want the 'counting'-feature to get to work.
Help would be wonderful...
Stay healty and please keep on developing such great stuff...
Lars

Hi Lars,

please re-install v3.01 and post a link to your gallery.

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: The_Nighler on December 11, 2007, 08:32:23 pm
Is it possible to have in the Window instead "Details                           Close"  this "Details                 Full Screen                   Close"

If so, I'd greatly appreaciate it if somebody could tell me how to do it, please.
Title: Problem with custom theme
Post by: wallpaperdome on December 20, 2007, 05:59:18 pm
Hello
I have instaled version 2 of highslide on my website,it worked well but when i instaled the latest version 3 it doesn't work,all it does is loading and loading forever.Is there something i could do to fix this,i am using i_feel_dirty2 theme.
Thank You
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: LarsP on December 25, 2007, 01:17:21 pm
Hi again,
sorry for being so busy at work... but ....
Finally here's my gallery-link:
http://www.bibi-und-lars.de/album/index.php (http://www.bibi-und-lars.de/album/index.php)
I've updated to 1.4.12 (stable) already (it busted my customized theme  >:() and reinstalled HS3.01. Still no other plug-Ins and now an unchanged theme.
Still the same problem with opening the pictures as described before.
The gallery is on my site running in a frame.

Maybe there is coming up a clue on my problem?
Thank you very much in advance and I wish all of you a merry christmas - combined with a healthy life!
CU,
Lars
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on January 01, 2008, 10:02:35 pm
Finally here's my gallery-link:
http://www.bibi-und-lars.de/album/index.php (http://www.bibi-und-lars.de/album/index.php)
I've updated to 1.4.12 (stable) already (it busted my customized theme  >:() and reinstalled HS3.01. Still no other plug-Ins and now an unchanged theme.
Still the same problem with opening the pictures as described before.

Hi Lars,

sorry for the late response - I spent some time in egypt ;) - seems to work fine?
Your gallery works beautifully here (tried e. g. http://www.bibi-und-lars.de/album/thumbnails.php?album=6).
Highslide effect is fine, too.

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Pascal YAP on January 02, 2008, 12:31:37 pm
Quote
Your gallery works beautifully here

Yes it's true, all work perfectly  ;)

PYAP
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: LarsP on January 05, 2008, 03:16:07 pm
Hello and a happy new year!
You're obviously right! Tried it today and everything worked fine. I suppose I've done a essential mistake: I didn't emptied my local cache! :-[
I think this has to be the clue. But whatsoever - it works!

Thanks for your help and for developing such a great and nice piece of software...

Wishing you all the best.
CU,
Lars
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: strzelec4 on January 24, 2008, 04:47:59 am
How can I modify highslide to ask for username/password if the user is not logged in? In other words I want the guest to be able to see thumbnails and browse through categories but only see thumbnails and when the gust clicks to view a picture it would ask him to log in. Thanks for response
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: grrrrr on February 12, 2008, 10:26:27 am
Is there a possibility to show next/previous arrows to scroll through albums?
And could the comments from coppermine also be displayed in the popup?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: sh0x on February 25, 2008, 05:27:08 pm
Is there a possibility to show next/previous arrows to scroll through albums?
And could the comments from coppermine also be displayed in the popup?

I am also looking for this feature. The plugin is great but without next buttons its a lot of clicking when viewing larger albums.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: jake on March 19, 2008, 12:46:41 pm
Hello,
I’d like to start off by saying that I love Highslide! Thanks you so much for creating it!
I was hoping to get it working with the Slider mod in Coppermine (link here: http://coppermine-gallery.net/forum/index.php?topic=41197.0 (http://coppermine-gallery.net/forum/index.php?topic=41197.0)).
My Coppermine albums page: http://woodardphotos.net/coppermine/index.php (http://woodardphotos.net/coppermine/index.php)
Coding something like this is a bit beyond me, and any help would be greatly appreciated!
Thanks for your time.
- Jake
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on March 20, 2008, 02:30:26 am
Note: In the meantime, a new version 3.04 has been released, look here (http://forum.coppermine-gallery.net/index.php/topic,36558.msg260115.html#msg260115).



============================================= v3.02 - 2008/03/20 - 01:00 GMT
by Timos-Welt (http://www.timos-welt.de)


New features:
==========
- Control bar with next/previous arrows


Still missing features from v 2.3:
=======================
- I did _not_ change function and variable names in highslide.js to cpghs_... - if the plug in
  gives you javascript errors, please use v2.3 instead!
- I have no idea of JavaScript, so I simply can't do that. If you know JavaScript, feel free
  to change these beasts and mail them to me ( Timo at timos-welt.de ).

   
Known Issues:
===========
- Will not work if you have custom title on thumbnails!


Install:
=====
If you already have 3.0 or 3.01 installed, simply overwrite highslide folder with the one included.
If not:
1. Uninstall any previous version.
2. Delete settings table if asked.
3. Copy Highslide folder to your plugins folder.
4. Copy hscnt.php to your gallery root.
5. Use plugin manager to install it.


Always remember to have fun!  ;)
regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: jake on March 20, 2008, 03:06:28 am
Thanks for the update!  It works like a dream!
Any hope of getting Highslide v3.02 to work with Slider?  (see my post above http://forum.coppermine-gallery.net/index.php/topic,36558.msg247850.html#msg247850 (http://forum.coppermine-gallery.net/index.php/topic,36558.msg247850.html#msg247850)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on March 21, 2008, 03:50:16 pm
I'm just porting the slider mod to a plugin, the plugin will be compatible of course. Gimme just a few more days, ATM I'm doing the configuration stuff.

Look here for the plugin in action: http://pics.timos-welt.de

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: jake on March 21, 2008, 04:45:21 pm
Thanks Timo!
I'm looking forward to it!
- Jake
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on March 31, 2008, 11:47:04 pm
Note: In the meantime, a new version 3.04 has been released, look here (http://forum.coppermine-gallery.net/index.php/topic,36558.msg260115.html#msg260115).



============================================= v3.03 - 2008/03/31 - 01:00 GMT
by Timos-Welt (http://www.timos-welt.de)


New features:
=============
- can now be used together with plugins 'Imageflow' and 'Slider'



Still missing features from v 2.3:
==================================
- I did _not_ change function and variable names in highslide.js to cpghs_... - if the plug in
  gives you javascript errors, please use v2.3 instead!
- I have no idea of JavaScript, so I simply can't do that. If you know JavaScript, feel free
  to change these beasts and mail them to me ( Timo at timos-welt.de ).

 
Known Issues:
=============
- Will not work if you have custom title on thumbnails!
- If 'Link to intermediate' is set to 'yes', and visitor clicks on 'detail' link,
  image counter will increase again, so his view will be counted twice.


Install:
=====
If you already have 3.0, 3.01 or 3.02 installed, simply overwrite highslide folder with the one included.
If not:
1. Uninstall any previous version.
2. Delete settings table if asked.
3. Copy Highslide folder to your plugins folder.
4. Copy hscnt.php to your gallery root.
5. Use plugin manager to install it.


Always remember to have fun!  ;)
regards
Timo

Edit: Added spanish language to zip.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: russell235 on April 03, 2008, 01:03:56 am
very nice updates on this script.  thank you.

can it be added to other places in the gallery that have thumbs?  such as the upload page (or better, jupload), or when you "edit files" in the album?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: NKVader on April 03, 2008, 06:52:29 am
 Thank you for your great job !
 The script works like a charm in Coppermine 1.4.16. Tested on Firefox v2.0.0.13, Opera v9.26 and Internet Explorer v6.0.29 (not 7 because I just hate IE...). Also compatible with Lightbox Slideshow (on detail-intermediate page).
 Installation and use are very simple (even for ma gran'ma)  ;D

 Once again, THANKS !
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: martinkatz on April 04, 2008, 10:14:23 pm
Really fine Job.. congratulations!
is the v3.03 already working with Slider?
i attach the spanish lang
Thanks!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on April 04, 2008, 10:35:37 pm
I'm currently working on a complete replacement for Highslide, because I think that Highslide has become too fat for what it's needed in a image gallery like Coppermine, and I don't like its license. The replacement plugin will work together with Slider, Imageflow and both will be able to utilize it. See here for beta version of the script: http://enlargeit.timos-welt.de/

Give me some more days to finish it. I had to learn JavaScript and its DOM from scratch, so there's still plenty of room to improve it.

Thanks for the spanish language file, I'll add it to the ZIP.

Highslide and Slider can be installed at the same time, but Slider will currently not use the Highslide effect.

regards
Timo


Edit: Link corrected.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: martinkatz on April 06, 2008, 01:01:04 am
You have been working since yesterday, im following the process at the alpha - link. Looks really good! By the way im asking myself how serch engine friendly is to use this plugin. mmm :-\
let me know if i can help you with some icon or whatever realated with design
Cheers!
Thanks for share your work!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on April 06, 2008, 01:07:46 am
I've corrected the link; EnlargeIt! is now beta. I'm working really hard on it.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on April 06, 2008, 12:56:58 pm
Please start a seperate thread for your plugin. Postings related to your plugin mustn't go into this thread, as the codebase differs.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: russell235 on April 08, 2008, 10:57:40 pm
i managed to get this working on thumbs almost everywhere on my site, edit pics thumbs, jupload thumbs, etc.  it's great.

Thank you for your help :)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Craig Walsh on April 09, 2008, 06:08:10 pm
I've installed your plug in at www.bark.ch (http://www.bark.ch) and I like it very much. 

The problem of the "missing" intermediate (mid-size) image still remains when a visitor clicks "detail" at the bottom of the larger image on our CPG website.  This takes the visitor, still, to the same page as before, where the intermediate image resides, and when it's the page for one of the problematical images --- my brother-in-law doing his hood ornament impression, for example --- CPG still comes up with the message that the page can't be found.

I have played around with the settings on your plug-in.  If I don't "link to intermediate" then this isn't a problem, but then the visitor can't see details about the image, vote, add comments, send an e-card, etc.

So while I like your plug-in and wish to keep it on our website --- it unfortunately hasn't solved the problem of the missing intermediate (mid-size) images.

Can you plug-in get the image details, e-cards, etc. without the intermediate image?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: holyworld on April 09, 2008, 11:53:00 pm
Fantastic plugin, but V3.03 does not work...  Any hints whats wrong with "conflicting" scripts?

http://unmomento.net.lorca.ch-meta.net/index.php?cat=31

resp. have a look at the source code below..  IE complains that
Quote
Quote
   hs.expandSteps = ;
has a syntax error.. Opera does not.

Thanks a lot!

Cheers

Code: [Select]
<link rel="stylesheet" title="Standard" href="plugins/imageflow/js/screen.css" type="text/css" media="screen" />
<script language="JavaScript" type="text/javascript" src="plugins/imageflow/js/imageflow.js"></script>
<style type="text/css">
    #imageflow{background-color:#000000;width:870px;}
    #imgflowcontainer{margin-top:0px;width:870px;}
    #imgflowslider{background-image:url('plugins/imageflow/js/slider.gif');}
</style>
<link rel="stylesheet" href="themes/unmomento/style.css"  />
<link rel="stylesheet" href="plugins/highslide/include/highslide.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
<script type="text/javascript" src="plugins/highslide/highslide.js"></script>
<style type="text/css">
  .highslide-image {border: px solid ;
  cursor: url('plugins/highslide/graphics/zoomout.cur'), pointer; }
  .highslide { cursor: url('plugins/highslide/graphics/zoomin.cur'), pointer; }
  .highslide_dtails { color: ; }
  .highslide_dtails_over { color:; }
  .highslide-caption { border: px solid ;
  background-color: ; }
  .highslide-loading { background-image: url('plugins/highslide/graphics/loader.gif'); }
  .hscontrolbar { background: url('plugins/highslide/graphics/controlbar5.gif'); width: 167px; height: 34px; margin-top: 25px; margin-right: 25px; }
  .hscontrolbar a:hover { background-image: url('plugins/highslide/graphics/controlbar5-hover.gif'); }
  </style> <script type="text/javascript">   
hs.graphicsDir = 'plugins/highslide/graphics/';
hs.loadingText = 'Loading...';
hs.loadingTitle = 'Click to cancel';
hs.restoreTitle = 'Click to restore thumbnail';
hs.expandSteps = ;
hs.expandDuration = ;
hs.restoreSteps = ;
  hs.restoreDuration = ;
  hs.captionSlideSpeed = ;
  hs.allowMultipleInstances = ;
hs.fullExpandTitle = 'Click for original size';
// remove the registerOverlay call to disable the controlbar
hs.registerOverlay(
  {
    thumbnailId: null,
    overlayId: 'hscontrolbar',
    position: 'top right',
    hideOnMouseOut: true
}
);

</script>
</head>
<body><div id="highslide-container"></div>
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on April 14, 2008, 10:02:20 pm
Hello holyworld,

seems as you had an older version of hs installed (<3.0) and did not uninstall correctly deleting the table. Should be easy to fix: Uninstall with delete settings table, then re-install.

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: holyworld on April 19, 2008, 01:07:54 am
Timo,

thanks a lot for your answer... did uninstall..

and during install, when hitting "Install" the following shows:

Code: [Select]
Critical error
There was an error while processing a database query

While executing query "SELECT * FROM cpg132_highslide_config" on 0

mySQL error: Table 'xxx.cpg132_highslide_config' doesn't exist

File: /home/httpd/vhosts/xxx/httpdocs/include/functions.inc.php - Line: 249


b.t.w ImageFlow works just fine.. similar installation.. but here it fails to create this table. HAve even tried to create it by myself.. did not help.

Any hint?

Thanks a lot!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on April 19, 2008, 11:12:42 am
Make a db backup. Find your config table (for the whole CPG, not only for highslide) and look for a value named "highslide_enable". If you find it, delete the corresponding line from the table (not the whole table!). Installation should work then.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: holyworld on April 21, 2008, 09:26:25 pm
This was THE hint... it works now!

Thanks a lot for this fanstastic plugin!

cheers
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: fil6718 on May 19, 2008, 12:11:00 pm
Hello
I try to install this excellent pugin but i have a problem.
All installation is ok but when i click on a photo, i have the message loading but notihing appear.

Could you help me ?

Sorry for my english, but i'm french...
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: mentalist3d on May 19, 2008, 12:51:45 pm
Thanks for the excellent script, I got this working in 10 secs flat and it makes a nice addition to my gallery, I would highly recommend this to other users :)

Thanks again :)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on May 19, 2008, 01:08:40 pm
@fil6718: Link to your gallery?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: fil6718 on May 19, 2008, 01:10:21 pm
www.famille-rosset.fr
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on May 19, 2008, 02:14:57 pm
Open hscnt.php with an editor. Replace 1st line
Code: [Select]
<?with
Code: [Select]
<?php
Should work then.

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: fil6718 on May 19, 2008, 05:21:45 pm
It's work now very well.
Thanks a lot for your very quickly help.
I don't know why this change can make the plugin in work
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on May 19, 2008, 07:15:48 pm
Most servers accept <? or <?php to start a php code section in a php file. <?php is the 'more correct' way, and your server requires this more correct way. I'll fix this in the next version, if there should be one.
 ;)
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on May 20, 2008, 08:15:55 am
Timo, you're of course right that short tags work on most servers. However, it's best practise for coders to always use the long tags, as they will work on all server setups no matter what. The useage of short tags is considered to be a sign of sloppy coding.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: jake on June 06, 2008, 06:59:49 pm
Hello all,
I’m having a problem with my Highslide v3.03 plugin in ie7.  When a thumbnail image is clicked on, the image appears by itself without any Highslide animation.  This does not happen with ie6 or Firefox 2.0.0.14 (the functionality works perfectly in both ie6 and Firefox 2.0.0.14).
Here is a link to my gallery: removed
I’ve uninstalled the Highslide v3.03 plugin, then reinstalled it hoping that the ie7 issue would somehow be magically fixed, to no avail.
Although I personally don’t use ie7, most of my visitors do (60% according to Google Analytics), so I would like to resolve this issue.
Any help would be greatly appreciated.
- Jake
Follow up
It was an issue with my ie7 configuration.  After going to tools - internet options - advanced (tab) - and clicking on the "reset" button, the problem went away.
Sorry for the "wasted" posting.
- Jake
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: rogerzz on June 09, 2008, 12:50:36 am
Open hscnt.php with an editor. Replace 1st line
Code: [Select]
<?with
Code: [Select]
<?php
Should work then.

regards
Timo

Hey Timos-Welt, dear i m having the same problem with highslide upon clicking it says loading but nothing happens. i tried ur suggestion i.e
Quote
Open hscnt.php with an editor. Replace 1st line
<?
With
<?php

But i cant find tht file in highslide folder even there is no .php file in tht. please healp
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on June 09, 2008, 02:15:47 pm
If your installed the plugin correctly, hscnt.php is located in the root folder of your gallery. Open it and do as I wrote.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: fangweile on June 12, 2008, 06:30:13 am
Hello there,

I have installed this plugin and it works great.

I have further question?
Can I used this plugin combining with the cpmfetch.?
I want to display the pictures comes from cpmfetch just like the highslide do in my gallery index.
Any idea? :rolleyes:
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on June 12, 2008, 04:35:20 pm
No.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on June 25, 2008, 11:29:06 pm
New maintenance release! This one will be the very last Highslide plugin release that is done by me. I'll concentrate on the EnlargeIt! plugin in the future, because I have full control over both the php and the javascript parts of EnlargeIt!, and it has much better possibilities. I hope you understand this.


============================================= v3.04 - 2008/06/25 - 01:00 GMT
by Timos-Welt (http://www.timos-welt.de)

Fixes:
====
- Fixed php short tags in hscnt.php

Install:
=====
If you already have 3.0, 3.01 or 3.02 or 3.03 installed, simply overwrite highslide folder with the one included and overwrite hscnt.php in root folder with the one included.

If not:
1. Uninstall any previous version.
2. Delete settings table if asked.
3. Copy Highslide folder to your plugins folder.
4. Copy hscnt.php to your gallery root.
5. Use plugin manager to install it.


Always remember to have fun!  ;)
regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: joginvik on July 11, 2008, 03:17:07 pm
During install 3.04 says

Cannot redeclare my_is_file() in /home/u29701/etennis.mobitek.biz/www/cpg1416/plugins/highslide/codebase.php on line 452

What's wrong?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on July 11, 2008, 08:12:29 pm
List which other plugins you have installed?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: joginvik on July 12, 2008, 08:49:11 pm
Имя CAPTCHA v3.0 
Автор bmossavari at My Project
Описание Fighting with spam with CAPTCHA,
Configuration By default confirmation will not show for register users , comment out those lines under codebase.php if you want confirmation for all
       
Имя Slider v2.03 
Автор Timos-Welt based on a mod by pbasmo
Описание Shows a JavaScript slider on album list page with EnlargeIt! integration
       
Имя Copper ad v1.2.4 (Stable) 
Автор BMossavari
Описание A plugin to allow admin to set simple advertisement on gallery.
 
I has EnlargeIt! v0.86, but I uninstall it
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on July 12, 2008, 10:13:36 pm
You're not allowed in another language but English here.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Nibbler on July 12, 2008, 10:24:09 pm
That's just a copy/paste of the plugin screen that happens to be in Russian.

@Timos-Welt: I don't see the point of the my_is_file() function. It does nothing useful, so might as well just use is_file().

Code: [Select]
// cheking for file (Intermadiate) availablity
function my_is_file($file)
{

  if(is_file($file))
return true;
else
return false;
}

If you really need it then wrap it in a function_exists() check to prevent it being defined twice.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on July 13, 2008, 12:41:38 am
I think it's a part of some ancient code from Highslide v2. Most of the things Sami coded are really clever, so I don't touch them without urgent need. BTW, I won't update the Highslide plugin anymore and recommend to use the EnlargeIt! plugin instead.

To joginvik:
Open codebase.php with a text editor and find all instances of my_is_file and replace by my_very_own_wurstsuppe, that should fix your special problem.

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: joginvik on July 14, 2008, 09:55:14 am
thanks, it's working now  ;D

the problem was that I previosly install Highslide, then Enlarge it, then uninstall both and then during the new installation of Highslide there were some problems
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: net on August 22, 2008, 12:58:33 pm
I've found a issue. When using Timos-Welt latest build and i've moved the coppermine copyright text (Powered by coppermine) i don't get the next / previous controls to show up.

You can see my gallery here: http://83.226.208.220/celebrities (http://83.226.208.220/celebrities)

Anyone know how to get around this?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on August 22, 2008, 07:00:23 pm
That's a problem of your skin; Highslide expects a string like
Code: [Select]
<div class="footer">in your HTML, but your skin uses
Code: [Select]
<div id="footer">
Two possible solutions:
1. Change id to class in your theme, or
2. Open codebase.php, find the following:
Code: [Select]
// Addition for control bar
  $html = str_replace('<div class="footer"','<div id="hscontrolbar" class="highslide-overlay hscontrolbar">
<a href="#" class="previous" onclick="return hs.previous(this)" title="'.$lang_plugin_highslide['controlbarprev'].'"></a>
<a href="#" class="next" onclick="return hs.next(this)" title="'.$lang_plugin_highslide['controlbarnext'].'"></a>
  <a href="#" class="highslide-move" onclick="return false" title="'.$lang_plugin_highslide['controlbarmove'].'"></a>
  <a href="#" class="close" onclick="return hs.close(this)" title="'.$lang_plugin_highslide['controlbarclose'].'"></a>
  </div><div class="footer"',$html);
and change to
Code: [Select]
// Addition for control bar
  $html = str_replace('<div id="footer"','<div id="hscontrolbar" class="highslide-overlay hscontrolbar">
<a href="#" class="previous" onclick="return hs.previous(this)" title="'.$lang_plugin_highslide['controlbarprev'].'"></a>
<a href="#" class="next" onclick="return hs.next(this)" title="'.$lang_plugin_highslide['controlbarnext'].'"></a>
  <a href="#" class="highslide-move" onclick="return false" title="'.$lang_plugin_highslide['controlbarmove'].'"></a>
  <a href="#" class="close" onclick="return hs.close(this)" title="'.$lang_plugin_highslide['controlbarclose'].'"></a>
  </div><div id="footer"',$html);

Both solutions should solve the problem for you (but not for others who use standard skins!).

regards
Timo
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: net on August 23, 2008, 01:59:13 am
Awesome, thanks timo.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: net on August 23, 2008, 02:07:00 am
Sorry for such a quick follow-up question but is it possible to change the overlay buttons (prev,next,move,close) to only display prev,next in the right top corner, i can remove the image simply by modifying the controlbar images, but that does not change the location.

Thanks again for the wonderful plugin!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: net on August 23, 2008, 11:42:35 pm
Damn, sorry again for this tripple post, wish i had a modify button.

Id also like to ask if it's possible to change so that the picture location when you press "next / prev" never lets the mouse of this button, so if you press next without moving your mouse the next image will display in such way that the next button is still on the mouse, which gives a easy browsing without having to aim your mouse each picture.

Thanks again timo for these wonderful plugins you make!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on August 24, 2008, 12:45:06 pm
I am not going to develop Highslide plugin any further; Highslide v3.04 is the last plugin version. No new features to come, so it doesn't make sense at all to post feature requests.

EnlargeIt! v2.0 is a 100% functional replacement for Highslide v3.04 and at least as stable. I recommend to use it instead of Highslide.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: andyleery on August 25, 2008, 07:32:04 pm
HI, finde das Plugin super!
Hab da aber jetzt ein Problem.
Hab das zwar schon wo anders beschrieben aber da konnte mir nicht geholfen werden.
Werde es also hier noch mal posten und ich hoffe wir finden eine Lösung.

"Hallo, ich habe das "HighSlide" Plugin bei mir installiert. Funktioniert soweit auch alles, hätte aber gerne eine Modifikation eingebaut.
Manchmal will ich mir das Bild garnicht ansehen als Webmaster, sondern will gleich die Seite "displayimage.php" sehen um dort Infos raus zu saugen.

Dafür möchte ich gerne noch einen Link in der Form von "[Avatar Generator]" anlegen. Das man also gleich zur Bildinfo springen kann, ohne vorher auf das Bild klicken zu müssen.

Habe z.B. das Problem das ich nicht einfach mal so mehrere Tabs im Browser aufmachen kann ohne jedes mal manuell ein neues Browserfenster oder Tab öffnen zu müssen, etc...

Das Projekt findet ihr unter www.bollybilder.de.
Danke für eure Hilfe, kann leider kaum noch PHP um den Code selber zu modifizieren"

Mir wurde folgender "Zusatz-Code für die theme.php vorgeschlagen aber der gewünschte Effekt trifft nicht ein:
Code: [Select]
$template_thumbnail_view = <<<EOT

<!-- BEGIN header -->
        <tr>
<!-- END header -->
<!-- BEGIN thumb_cell -->
        <td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
                <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td align="center">
                                        <a href="{LINK_TGT}">{THUMB}<br /></a>
<a href="{LINK_TGT2}">Bildinfo</a>
                                        {CAPTION}
                                        {ADMIN_MENU}
                                </td>
                        </tr>
                </table>
        </td>
<!-- END thumb_cell -->
<!-- BEGIN empty_cell -->
                <td valign="top" class="thumbnails" align="center">&nbsp;</td>
<!-- END empty_cell -->
<!-- BEGIN row_separator -->
        </tr>
        <tr>
<!-- END row_separator -->
<!-- BEGIN footer -->
        </tr>
<!-- END footer -->
<!-- BEGIN tabs -->
        <tr>
                <td colspan="{THUMB_COLS}" style="padding: 0px;">
                        <table width="100%" cellspacing="0" cellpadding="0">
                                <tr>
                                       {TABS}
                                </tr>
                        </table>
                </td>
        </tr>
<!-- END tabs -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;
}


function theme_display_thumbnails(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $page, $total_pages, $sort_options, $display_tabs, $mode = 'thumb')
{
    global $CONFIG;
    global $template_thumb_view_title_row,$template_fav_thumb_view_title_row, $lang_thumb_view, $template_tab_display, $template_thumbnail_view, $lang_album_list;

    static $header = '';
    static $thumb_cell = '';
    static $empty_cell = '';
    static $row_separator = '';
    static $footer = '';
    static $tabs = '';
    static $spacer = '';

    if ($header == '') {
        $thumb_cell = template_extract_block($template_thumbnail_view, 'thumb_cell');
        $tabs = template_extract_block($template_thumbnail_view, 'tabs');
        $header = template_extract_block($template_thumbnail_view, 'header');
        $empty_cell = template_extract_block($template_thumbnail_view, 'empty_cell');
        $row_separator = template_extract_block($template_thumbnail_view, 'row_separator');
        $footer = template_extract_block($template_thumbnail_view, 'footer');
        $spacer = template_extract_block($template_thumbnail_view, 'spacer');
    }

    $cat_link = is_numeric($aid) ? '' : '&amp;cat=' . $cat;
    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';

    $theme_thumb_tab_tmpl = $template_tab_display;

    if ($mode == 'thumb') {
        $theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $aid == 'lastalb' ? $lang_album_list['album_on_page'] : $lang_thumb_view['pic_on_page']));
        $theme_thumb_tab_tmpl['inactive_tab'] = strtr($theme_thumb_tab_tmpl['inactive_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
        $theme_thumb_tab_tmpl['inactive_next_tab'] = strtr($theme_thumb_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
        $theme_thumb_tab_tmpl['inactive_prev_tab'] = strtr($theme_thumb_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
    } else {
        $theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_thumb_view['user_on_page']));
        $theme_thumb_tab_tmpl['inactive_tab'] = strtr($theme_thumb_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
        $theme_thumb_tab_tmpl['inactive_next_tab'] = strtr($theme_thumb_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
        $theme_thumb_tab_tmpl['inactive_prev_tab'] = strtr($theme_thumb_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
    }

    $thumbcols = $CONFIG['thumbcols'];
    $cell_width = ceil(100 / $CONFIG['thumbcols']) . '%';

    $tabs_html = $display_tabs ? create_tabs($nbThumb, $page, $total_pages, $theme_thumb_tab_tmpl) : '';
    // The sort order options are not available for meta albums
    if ($sort_options) {
        $param = array('{ALBUM_NAME}' => $album_name,
            '{AID}' => $aid,
            '{PAGE}' => $page,
            '{NAME}' => $lang_thumb_view['name'],
            '{TITLE}' => $lang_thumb_view['title'],
            '{DATE}' => $lang_thumb_view['date'],
            '{SORT_TA}' => $lang_thumb_view['sort_ta'],
            '{SORT_TD}' => $lang_thumb_view['sort_td'],
            '{SORT_NA}' => $lang_thumb_view['sort_na'],
            '{SORT_ND}' => $lang_thumb_view['sort_nd'],
            '{SORT_DA}' => $lang_thumb_view['sort_da'],
            '{SORT_DD}' => $lang_thumb_view['sort_dd'],
            '{POSITION}' => $lang_thumb_view['position'],
            '{SORT_PA}' => $lang_thumb_view['sort_pa'],
            '{SORT_PD}' => $lang_thumb_view['sort_pd'],
            );
        $title = template_eval($template_thumb_view_title_row, $param);
    } else if ($aid == 'favpics' && $CONFIG['enable_zipdownload'] == 1) { //Lots of stuff can be added here later
       $param = array('{ALBUM_NAME}' => $album_name,
                             '{DOWNLOAD_ZIP}'=>$lang_thumb_view['download_zip']
                               );
       $title = template_eval($template_fav_thumb_view_title_row, $param);
    }else{
        $title = $album_name;
    }


    if ($mode == 'thumb') {
        starttable('100%', $title, $thumbcols);
    } else {
        starttable('100%');
    }

    echo $header;

    $i = 0;
    foreach($thumb_list as $thumb) {
        $i++;
        if ($mode == 'thumb') {
            if ($aid == 'lastalb') {
                $params = array('{CELL_WIDTH}' => $cell_width,
                    '{LINK_TGT}' => "thumbnails.php?album={$thumb['aid']}",
                    '{THUMB}' => $thumb['image'],
                    '{CAPTION}' => $thumb['caption'],
                    '{ADMIN_MENU}' => $thumb['admin_menu']
                    );
            } else { print_r($thumb);
                $params = array('{CELL_WIDTH}' => $cell_width,
                    '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&amp;pos={$thumb['pos']}$uid_link",
'{LINK_TGT2}' => "displayimage.php?pos=-{$thumb['pid']}",
                    '{THUMB}' => $thumb['image'],
                    '{CAPTION}' => $thumb['caption'],
                    '{ADMIN_MENU}' => $thumb['admin_menu']
                    );
            }
        } else {
            $params = array('{CELL_WIDTH}' => $cell_width,
                '{LINK_TGT}' => "index.php?cat={$thumb['cat']}",
                '{THUMB}' => $thumb['image'],
                '{CAPTION}' => $thumb['caption'],
                '{ADMIN_MENU}' => ''
                );
        }
        echo template_eval($thumb_cell, $params);

        if ((($i % $thumbcols) == 0) && ($i < count($thumb_list))) {
            echo $row_separator;
        }
    }
    for (;($i % $thumbcols); $i++) {
        echo $empty_cell;
    }
    echo $footer;

    if ($display_tabs) {
        $params = array('{THUMB_COLS}' => $thumbcols,
            '{TABS}' => $tabs_html
            );
        echo template_eval($tabs, $params);
    }

    endtable();
    echo $spacer;
}

Das war der Text dazu vo, User "eenemeenemuu":
Quote
Nein. Wenns jetzt nicht geht, spuckt dir höchstwahrscheinlich das HighSlide-Plugin in die Suppe.
Setz dich einfach mal mit meiner minimalen, simplen Modifikation auseinander. Ich habe in der Funktion theme_display_thumbnails() den Platzhalter {LINK_TGT2} definiert und diesen dann in $template_thumbnail_view eingebaut. Diese Modifikation musst du wahrscheinlich im HighSlide-Plugin vornehmen, da dort vermutlich deine Modifikation aus der theme.php bestimmt überschrieben wird.
Das ist aber alles nur Spekulation, da ich (wie schon gesagt) das Plugin nicht kenne. In meinem Test-CPG hat meine Modifikation den gewünschten Effekt erzielt.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on August 26, 2008, 07:09:15 am
When posting in this thread use either english or if you are unable to have a friend translate it for you. Otherwise post in the German support board.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: andyleery on August 26, 2008, 01:58:44 pm
LOL sorry I forgot that this one was a english forum. Anyway, I found my answers somewhere else, thx!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Hein Traag on August 26, 2008, 04:08:31 pm
LOL sorry I forgot that this one was a english forum. Anyway, I found my answers somewhere else, thx!

Good for you. Post the location of your answer also here so others are maybe helped by it.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: net on September 18, 2008, 12:17:16 am
sorry to hit this topic again, but i wonder if there is a simple solution to disable the "resize depending how big your browser window is" setting? just show the image "as is" directly.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Leonidas on November 23, 2008, 01:32:05 am
Thanks for a plug-in! Interestingly and Russian be not going to add?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Leonidas on November 23, 2008, 03:07:22 am
Thanks for a plug-in! Interestingly and Russian be not going to add?
Russian languages for a plug-in
Title: Adding lightbox to cpmfetch -simple answer and solution
Post by: webhigh on January 11, 2009, 03:21:36 pm
At the risk of being flamed this solution is not that difficult I'm just amazed it was not posted clearly before or as a documented option for cpmfetch.


Here it is:


first download lightbox
next upload lightbox to the same directory as the page displaying the cpmfetch images

next add these links to your page in the <head> area

<link rel="stylesheet" href="lightbox_assets/css/lightbox.css" type="text/css" media="screen" />
<script src="lightbox_assets/js/prototype.js" type="text/javascript"></script>
<script src="lightbox_assets/js/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="lightbox_assets/js/lightbox.js" type="text/javascript"></script>

Change Bold to what ever your lighbox directory is called

Add this <body onload="initLightbox()"> as the body tag or at least this if you already have others there initLightbox()

Next add this to where you want cpmfetch to show - I this case we are showing random images with the Album Title below each image

<?php
  include_once "./gallery/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  $options = array(
  "subtitle" => "<center>{{aTitle}}</center",
  "linktemplate"=>'http://yourdomainname.com/gallery/albums/{{pFilepath}}{{pFilename}}"rel="lightbox"');
  $objCpm->cpm_viewRandomMediaFrom("cat=partners:album=tours",1, 6, $options);
  $objCpm->cpm_close();
?>

Bold = directory for your coppermine gallery

That's all it takes.

Have fun



Title: Re: Adding lightbox to cpmfetch -simple answer and solution
Post by: Timos-Welt on January 11, 2009, 04:38:01 pm
At the risk of being flamed this solution is not that difficult I'm just amazed it was not posted clearly before or as a documented option for cpmfetch.

blah blah blah...

Your posting is not related to this plugin in any way. Why do you spam this thread?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: webhigh on January 11, 2009, 05:02:14 pm
give me a break will you where then should it be posted if not here since this support forum causes incredible amounts of wasted time in not only reading your caustic replies but in trying to find answer to simple questions.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on January 11, 2009, 05:08:48 pm
This thread is about the Highslide plugin. It is not about CPMfetch nor Lightbox mods. Why do you spam this thread?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on January 22, 2009, 10:06:18 am
@webhigh: Respect the advice posted by thread owners and staff. If you don't, you'll get banned.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Izzie Stevens on March 07, 2009, 08:09:13 pm
I tried this plugin but .. it doesn't work.
The image doesn't open and I only see the "loading" botton.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on March 08, 2009, 01:42:26 pm
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: murerhans on March 11, 2009, 04:51:05 am
Hello
I have installed this plugin and notthing happens. Please help   http://murerhans.com/e107/gallery/index.php
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Joachim Müller on March 11, 2009, 07:30:44 am
The plugin was designed for the standalone flavor of coppermine and not for the e107 port. The e107 port of coppermine doesn't get supported here. That means: you can try to use any plugin with your e107 port and try to make it work, but you're not allowed to ask questions about it. The e107 port goes unsupported from our side. Unsupported as in "don't ask questions if you run the e107 port".
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: net on July 25, 2009, 03:07:56 pm
Hello!

I'm using the Highslide plugin and i love it. However i do have one question. I'm trying to remove/modify the information that is displayed when "mouseover on thumbnail".
Example:
Code: [Select]
Filename=beautiful_world_ns.flvFilesize=14643KBDimensions=320x240Date added=Jan 07, 2009
But when i modify the code that handles what information is displayed on "mouseover on thumbnail" the highslide plugin stops working.

This is the code in includes.inc.php that i was playing around with:

Code: [Select]
$pic_title =$lang_display_thumbnails['filename'].$row['filename']."\n".
$lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
$lang_display_thumbnails['dimensions'].$row['pwidth']."x".$row['pheight']."\n".
$lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);

Any ideas how i can remove or modify the information output when mouseover but still use highslide plugin?

Thanks for this wonderful plugin!
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: jayh on September 01, 2009, 07:18:37 pm
how can I make this plugin display the full size image in a new window rather then in the current. so when i am looking at the thumbnails i click one and it opens in a completely new window similar to the normal way coppermine works just skipping the intermediate image?
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: CD69 on January 12, 2010, 02:50:47 am
Sorry to bring this back to the top but I read all 19 pages and can't find the fix.

I just found this plugin 3.04 and added to my CPG version: 1.4.25

In Firefox/3.5.6 the mod runs perfectly, thumbs open and close as you scroll through them using the arrows.

IE version 8 the thumb opens but does not close as you use the arrows to move to the next image, they stack one over the other and you have to double or triple click to get them to close.

In IE once I try to use the mod the address changes from http://www.chitown-angler.com/tipup/index.php to http://www.chitown-angler.com/tipup/index.php#

Any ideas would be appreciated.

Thanks
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: CD69 on January 12, 2010, 04:16:47 am
And I'm sorry I left out some information it does not work in classic or reynolds themes in IE but both in FF. It's a fresh install with no code changes just a couple plugins which I tried changing the mod position moving it up and down among the installed plugins
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on January 12, 2010, 08:30:03 am
Two solutions:
1) Use EnlargeIt! plugin instead and forget Highslide.
2) Modify the theme to activate IE compatibility mode (use Google).
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: hlabout on April 26, 2010, 09:36:59 am
Timo,

I am using version 3.01 of this great plug-in on cpg 1.4.26. (v3.04 does not do a good job in IE8 with the next and previous arrow key so i went back to 3.01)
Since the beginning I have a small problem with Highslide, wich I personally find the best plug in ever for CPG.

The problem is that I loose the small border around the small thumbnail images on all pages where thumbs are displayed.
The image thumbs of my albums, on the home page, still have the small gray border and in admin mode, where I have disabled Highslide, the thumb borders are back.
When I uninstall Highsligde all borders are back.

I really like to show the borders on my thums together with the use of Highslide, is there a solution for this. (in v3.04 the problem is the same)

Hope to get a reply on this item.

Harald

www.haraldlabout.nl

(p.s. this is a long thread perhaps I missed a solution for this in the 19 pages)



Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: hlabout on May 06, 2010, 11:02:27 pm
Found the solution of the above mentioned problem myself in the Highslide CSS.
When Highslide is installed the Highsligde img CSS value overrides the Theme imgage CSS value.
Changed the Highslide img CSS value and the thumbnail border is back.

Harald
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: phill104 on May 06, 2010, 11:26:25 pm
Thanks for resolving your thread(s). In future please only ask the same question in one thread. It causes extra work for us if you post the same in more than one.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: BR79 on July 07, 2010, 06:32:48 pm
I accidentally deleted the Highslide table from my mySQL database is there a query where I can submit into the database to re-add the highslide table so that my site works properly as now am getting critical error messages all over my site relating to this little issue

Huge thanx in advance to anyone who can help me out - much appreciated
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: Timos-Welt on July 08, 2010, 03:30:00 pm
Delete the highslide line from table cpgXX_plugins and re-install the plugin.
Title: Re: Highslide (Skip Intermediate Page and show full image )
Post by: hlabout on August 29, 2010, 02:55:07 pm
Question:

Running cpg 1.4.27 with highslide 3.01 on my gallery www.haraldlabout.nl
Great plug in, I'm using it for a long time.

Is it possible to de-activate the Highslide plugin just for one section of my gallery?
I like to de-activate it for my "last comments" section.

Harald