Tigga
Posts: 1
Joined: Mon Sep 01, 2014 3:37 pm

Reloading or Rotating the HS Image

I've been working on adding some image rotate features to a gallery. On some pages I have 2 simple images that, when clicked, will send an AJAX request to handle rotating the image on the server. I'd like to add this feature and allow members to rotate an image when they are viewing it in the highslide popup, but I can't figure out how to reload the image that is shown in the Highslide popup that appears. I found a suggestion here about adding a new button to rotate images, but the button didn't do anything. If anyone could help to show me how to rotate the image or at least reload it via AJAX it would be greatly appreciated.
User avatar
RoadRash
Posts: 8249
Joined: Tue Jul 15, 2008 6:43 pm
Location: Fredrikstad, Norway
Contact: Website

Re: Reloading or Rotating the HS Image

Hi,

Sorry for the late reply.

You can use jQueryRotate to rotate the image. You'll get the best result when using useBox for your gallery.
Live demo: http://jsfiddle.net/roadrash/ukahrxen/
Note: JavaScript is client script. The images will be rotated in the user's browser, not on the server.
Hilde
Highslide Support Team

Overview of my Highslide sample pages: RoadRash.no

Return to “Highslide JS Usage”