Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello. I have downloaded a file highslide-full.min.js, the module highslide, and have enabled it. How to create highslide gallery?
Many thanks!
Comments
Comment #1
q0rban CreditAttribution: q0rban commentedHi Alexander!
As of now there's not a way out of the box to create a highslide gallery, but I'm open to patches for this funcitonality! Thanks...
Comment #2
q0rban CreditAttribution: q0rban commentedAlso, I'm wondering how the gallery should function.. Should it group all images of a single node that use the same highslide formatter, or all images on the page, no matter what node they are attached to?
Comment #3
q0rban CreditAttribution: q0rban commentedComment #4
digital_fox CreditAttribution: digital_fox commentedI wish to create gallery as in an example: http://www.sprocketcreative.com/. For this purpose it is necessary to enabled modules CCK and Imagefield and to add a new field to a material? Or how?
Comment #5
digital_fox CreditAttribution: digital_fox commentedComment #6
q0rban CreditAttribution: q0rban commentedAlexander, If I'm understanding you correctly, each of the "galleries" that you see on http://sprocketcreative.com are actually views using views carousel.
Comment #7
radj CreditAttribution: radj commentedThe sliding effect is views carousel but I think what he means is the highslide has a gallery functionality because it can scroll through other pictures in the carousel like a gallery. When you click on an image in the carousel, the highslide box comes up and when you press left or right, it moves to the next image. I'd like to know how to do that, too. :)
Comment #8
q0rban CreditAttribution: q0rban commentedHi Roger!
Hmm, I hadn't noticed that we actually hand wrote the HighSlide implementation for http://sprocketcreative.com to use the gallery functionality. We haven't had the time to write that back into the HighSlide module. We've had people interested, but no solid bites yet! If you are interested in sponsoring this functionality, shoot me a message!
Thanks,
James
Comment #9
design.er CreditAttribution: design.er commentedMarked #680930: Scrollable trumbnails as a duplicate of this issue.
Comment #10
q0rban CreditAttribution: q0rban commentedBeing able to use the arrow keys to navigate the Highslide images is already working in Highslide module. If you want to have actual navigation, I believe that is all achieved by CSS, although I haven't had the need to try it myself.
Comment #11
rokr CreditAttribution: rokr commented#701152: Previous/Next Buttons is related.
Comment #12
DFWalton CreditAttribution: DFWalton commentedThe original question has still not been answered, or at least my variation hasn't. I am a newbie. I've downloaded and configured everything. But how do I get it on a page, and how do I tell it where the pics are?
Comment #13
benone CreditAttribution: benone commentedSUBSCRIBE
Comment #14
hsh CreditAttribution: hsh commentedDFWalton, I'm not sure if you are trying to hookup highslide with flickr or not. If you are then take a look at http://ethancodes.com/2010/03/flickr-galleries-for-drupal/
The only thing I am not clear on is where to add that jQuery function within my Drupal installation...still trying to figure that out
Edit: That jQuery function will need to be added to page.tpl.php file of the current theme you are using
Comment #15
silkscreen CreditAttribution: silkscreen commentedI have a thumbnail style gallery working.
I followed some of the instructions from here.
http://highslide.com/forum/viewtopic.php?f=1&t=5314&p=25255
My version went like this.
1. Install the Highslide Module
2. Download your preferred gallery from the Highslide editor, http://highslide.com/editor/ and replace everything in the modules/highslide/highslide directory with your custom download.
3. Insert this highslide reference in your template page.tpl.php file (i added it to the body, not head)
<script type="text/javascript" src="/sites/all/modules/highslide/highslide/highslide.config.js" charset="utf-8"></script>
4. Change almost all the code from the highslide.js in your /sites/all/modules/highslide directory to the following.
5. Set the correct path to your graphics directory in your highslide.config.js file. I had to add the full url, though a relative path may work for some, not sure.
hs.graphicsDir = 'http://example.com/sites/all/modules/highslide/highslide/graphics/';
6. I set up an imagechache preset for the images i want to show. Then I set up an imagefield (http://drupal.org/project/filefield) in my Content Type and set the uploads on that field to unlimited to get achieve a group of images on that node. Use the Highslide Formatter option in the Display Fields section in your Content Type. Save Content.
Click one of the images and you should be able to scroll through your gallery.
Note: Seems to break when I use the jquery update module.
Thanks
Comment #16
maulwuff CreditAttribution: maulwuff commented#15 was a good start for the highslide.js part.
All I did was:
I configured a gallery on http://highslide.com/editor/
then, replace the files inside
sites/all/modules/highslide/highslide
with your custom generated files. That is at minimum:
- replace graphics folder
- replace highslide.css
- put in your desired js file like "highslide-with-gallery.packed.js"
- put in highslide.config.js
- put in easing_equations.js (dunno if it is needed)
in highslide.config.js:
comment out
hs.graphicsDir = 'highslide/graphics/';
it is not needed here. gets set via drupal:
in the original highslide.js brought by the module in sites/all/modules/highslide/
replace everything with this:
this differs from #15. I had to add ',config1' to the expand.
this is also the part where the graphics dir gets set.
in the highslide.module we have to modify 2 lines:
function highslide_add_files() {
here we add the config. paste
drupal_add_js($path .'/highslide/highslide.config.js');
after
drupal_add_js($js_path);
then, in
function _highslide_js_path() {
add the name of the js file you want to use. I've added the packed gallery there. example:
$files = array('highslide-full.min.js', 'highslide-full.js', 'highslide-full.packed.js', 'highslide-with-gallery.packed.js');
I've jquery update running with "Production (Minified)"