Are there any plans to port Highslide to Drupal 7?

CommentFileSizeAuthor
#5 highslide.zip5.3 KBgreenmother

Comments

Vc Developer’s picture

Please do!.. ;)

W.M.’s picture

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

q0rban’s picture

Category: feature » task

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

W.M.’s picture

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

greenmother’s picture

StatusFileSize
new5.3 KB

Here 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)

W.M.’s picture

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

greenmother’s picture

Unfortunately, it looks like HighSlide JS too pre-loads full-size images if to be launched at mouse over

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

W.M.’s picture

@greenmother

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

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

vinceitsme’s picture

Hello,

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

greenmother’s picture

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

        form_set_error($k, t('Bad JSON value in field !field.', array('!field' => $v)));

This disable JSON validating.

vinceitsme’s picture

Hello,

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

greenmother’s picture

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

head’s picture

Assigned: Unassigned » head
Status: Active » Patch (to be ported)

"Bad JSON value in field global parameters"

"opacity": .85

replace with

"opacity": 0.85

WorldFallz’s picture

Status: Patch (to be ported) » Active

wrong status-- there is no patch.

WorldFallz’s picture

actually, there's a zip over at: #1691486: drupal 7

WorldFallz’s picture

Status: Active » Closed (duplicate)