Closed (duplicate)
Project:
Highslide
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
4 Jul 2011 at 20:09 UTC
Updated:
17 Mar 2013 at 13:26 UTC
Jump to comment: Most recent file
Are there any plans to port Highslide to Drupal 7?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | highslide.zip | 5.3 KB | greenmother |
Comments
Comment #1
Vc Developer commentedPlease do!.. ;)
Comment #2
W.M. commentedI would love to see it Drupal 7 compatible!
I want to ask though, if I want to use Highslide JS for inline images (or for a particular field in a view) i.e. with no formal Views integration, do I still need to wait for a Drupal 7 Highslide module to be released ?!
Would it not be enough to load the Highslide JS on my Drupal site, add some lines to the Head area of HTML and add some settings to the url tag (a) ?!
Any help is highly appreciated :) Thanks.
Comment #3
q0rban commented> Would it not be enough to load the Highslide JS on my Drupal site, add some lines to the Head area of HTML and add some settings to the url tag (a) ?!
Yes, you could do that. :)
I'm personally won't have time to port this to 7, but I welcome patches.
Comment #4
W.M. commentedI have tried but failed. I followed the instructions at the HighSlide JS website and added the required codes to HTML Head & body regions, loaded the JS and Css but it does not work as it should. The loading graphic loads but the full size image fails to load (the animation keeps playing forever with no full size image appearing).
Comment #5
greenmother commentedHere my decision of Highslide integration to Drupal 7.
For example, it works on our company site: http://rustex.ru/portfolio (russian)
To install you should download Highslide from highslide.com manually into module directory (paths: sites/all/modules/highslide/highslide.js, sites/all/modules/highslide/graphics/, etc)
Comment #6
W.M. commentedThanks greenmother for the work. I will happily test the attached files. I am sure HighSlide integration would be very useful for many Drupal 7 users.
Unfortunately, it looks like HighSlide JS too pre-loads full-size images if to be launched at mouse over (upon hovering over the thumbnail). But this is a JS code issue not a Drupal issue.
Comment #7
greenmother commentedNo. It's start loading fullsize images only by clicking on thumbnail. If you have slow internet you will see "Loading..." icon while loading not completed.
Comment #8
W.M. commented@greenmother
What you are saying is correct if the lighbox is opened by a mouse click. However, that is not the case when loading the full-size image by mouse over (hovering). In that case, the image is pre-loaded at the time the page is visited.
HighSlide JS works on mouse over as described here:
http://highslide.com/ref/hs.Expander.prototype.onMouseOut
Comment #9
vinceitsme commentedHello,
Excuse me,
I used highslide module on drupal6 and now i'm trying to use highslide on my new website with drupal7.
I love this module but on drupal7 i can't make it work.
I followed your advices, i downloaded the attachement highslide.zip of greenmother and i downloaded the different files needed on highslide.js (highslide.js, highslide/graphics/, etc...)
I've got one error when i look in global parameters oh highslide: "Bad JSON value in field global parameters"
My parmaters are the following:
{
"wrapperClassName":"borderless dark",
"captionEval":"this.a.title",
"captionOverlay":{"position":"top", "width":"100%", "opacity":.85, "hideOnMouseOut":true},
"dimmingOpacity":0.6,
"align":"center",
"fadeInOut":true,
"showCredits":false
}
I dont see what it's really wrong.
And when i try this command on Views (i rewrite one of my field and put the following):[title]
Nothing done.
This command worked in views on Drupal6
Please i need some help, someone can explain me how to configure highslide in drupal 7???
Im lost and very very need this module to continue
Thank you very much
And sorry for my bad english
Comment #10
greenmother commentedHi.
Parameters in your comment are default, are you sure that got this error with default parameters?
This error occurs when php built-in function json_decode returns NULL (that means decoding error).
---
If all else fails you can comment row #116 in highslide.admin.inc
This disable JSON validating.
Comment #11
vinceitsme commentedHello,
First thank you for your answer.
I commented the row #116 in highslide.admin.inc, now it's ok -> i don't have more error message about "Bad JSON".
But i can't use highslide with the module view.
On drupal 6 i put :
<a href="/monsite/node/[nid]#content" class="highslide-ajax-link highslide-ajax-link-wide">[title]</a>and my content opened on highslide window.Now i don't know what is the code to do the same thing on drupal 7
I'm a very newbe on the world of Drupal but i very need this type of window provide by a module like highslide.
Thank you for all help
Comment #12
greenmother commentedSorry, but I'm afraid, my module is not suitable for this purpose.
It just gives additional formatter for image fields to open this image(s) in highslide single/gallery mode.
I think it will be better for you to adding highslide into your theme directly.
Include css and js highslide files and other js/css code in your html.tpl.php.
Use http://highslide.com for instructions.
Comment #13
head commented"Bad JSON value in field global parameters"
"opacity": .85replace with
"opacity": 0.85Comment #14
WorldFallz commentedwrong status-- there is no patch.
Comment #15
WorldFallz commentedactually, there's a zip over at: #1691486: drupal 7
Comment #16
WorldFallz commented