Highslide (Skip Intermediate Page and show full image ) - Page 13 Highslide (Skip Intermediate Page and show full image ) - Page 13
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Highslide (Skip Intermediate Page and show full image )

Started by Sami, September 23, 2006, 05:10:47 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

daverad

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.

Sami

‍I don't answer to PM with support question
Please post your issue to related board

daverad

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.

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

daverad

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
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
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.

Sami

Torstein change his core code so it's a bit different here
‍I don't answer to PM with support question
Please post your issue to related board

daverad

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!

Sami

You need to code your plugin based on this plugin and use new highslide.js
‍I don't answer to PM with support question
Please post your issue to related board

daverad

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!

Sami

Yes just add cpghs_ to every single variable and function
‍I don't answer to PM with support question
Please post your issue to related board

russell235

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


Timos-Welt

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

Sami

‍I don't answer to PM with support question
Please post your issue to related board

Hein Traag

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

Sami

‍I don't answer to PM with support question
Please post your issue to related board

Hein Traag

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

Sami

‍I don't answer to PM with support question
Please post your issue to related board

Hein Traag

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.

Sami

Ok ,then manually remove highslide from xx_plugin table and then re-install it ;)
‍I don't answer to PM with support question
Please post your issue to related board

Hein Traag

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 ?