Topic: Highslide Image Gallery  (Read 22163 times)

Pages: [1] 2 3   Go Down

#1: 24-Mar-2007, 03:11 PM


bunk58
Posts: 1,800

David Bunker

WWW
This is a port of Torstein Honsi's Highslide.js image effect.

Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License (http://creativecommons.org/licenses/by-nc/2.5/).

This is my first attempt at a snippet so feel free to improve the coding as I know very little PHP and even less Javascript.

View a demo of the snippet at 3913.co.uk.

There are a limited number of parameters available, because I ignored a lot of possible options in order to get it up and running quickly and simply.
I love MaxiGallery but sometimes want to upload several large galleries quickly, without captions, comments etc.
The idea was to get a good looking ajaxified style gallery that you FTP the images up to and that noobs like me can install easily.

The zip file contains all the files and a set of instructions.
Feedback any thoughts and or improvements.

Tested on MODx 0.9.5 RC2 & 0.9.6 RC1 using IE6 & 7, Ffox 1.5.0.11, Netscape 8.1.2 & Opera 9.10
Can someone have a look using Safari?

Also "Valid XHTML 1.0 Transitional"

Regards,
David



* highslide.zip (117.02 KB - downloaded 995 times.)
« Last Edit: 17-Mar-2008, 02:53 PM by bunk58 »

#2: 24-Mar-2007, 03:26 PM

Moderators

xyzvisual
Javier Arraiza Cenoz
Posts: 649

Javier Arraiza Cenoz

WWW
very cool snipet
hi

#3: 24-Mar-2007, 03:36 PM

Administrator

zi
MODx Special Forces /
Posts: 3,555

May Peace Be On You

WWW
Nice work David! Smiley

Thanks for sharing.

#4: 24-Mar-2007, 04:17 PM

Xsss4hell
Posts: 141

Believe or not I'm member #6666 =(

* Two Thumbs UP *

#5: 24-Mar-2007, 10:38 PM


ChuckTrukk
Posts: 851

WWW
David,

This snippet is a real winner! Perfect for quick galleries.

Chuck
Chuck the Trukk
ProWebscape.com :: Nashville-WebDesign.com
- - - - - - - -
What are TV's? Here's some info below.
http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008

#6: 3-Apr-2008, 09:01 AM

Ross1234
Posts: 61

Maybe add this in the next version but with width and height as parameters instead of in the php?

change the paths to thumbnails to use this resizer script

http://tech.mikelopez.info/2006/03/02/php-image-resize-script/

Creates thumbnails with smaller file sizes "on the fly"

Then call the same way as before

so the file path is $file_dir = 'assets/galleries/'.$Gname.'/';

and the thumbnail path is $thumbs_dir = '/imgsize-1.php?w=120&h=90&img='.$file_dir.;

(remove fullsize from file path.)

if you could incorporate the width and hight as parameters that would be great.

(thats my input to modx LOL)

ps. is it allowed to remove the highslide text at the top left and replace with a copyright notice? I don't think it is and you have done that.

« Last Edit: 3-Apr-2008, 10:31 AM by Ross1234 »

#7: 3-Apr-2008, 11:49 AM


bunk58
Posts: 1,800

David Bunker

WWW
Thanks for the pointer.
I've bookmarked it for a look.

David

#8: 10-Apr-2008, 07:13 AM

Vait
Posts: 195

WWW
Ive liked the fx but the downside is whenever I click on next and the next image comes up, I have to move the mouse to click on the next button (using safari) - is it supposed to be this way? I clicked on 5 images and it already got irritating.. is it possible to set a static position for the buttons?
Pure MODx sites
Viriko.ru & Viriko.com - Multilingual and running on 1 MODx

#9: 10-Apr-2008, 07:41 AM


bunk58
Posts: 1,800

David Bunker

WWW
The control bar is set relative to the image, ie top right, bottom left etc.
If you have images of different sizes then the control bar would "move"

#10: 10-Apr-2008, 09:52 AM

Ross1234
Posts: 61

Ive liked the fx but the downside is whenever I click on next and the next image comes up, I have to move the mouse to click on the next button (using safari) - is it supposed to be this way? I clicked on 5 images and it already got irritating.. is it possible to set a static position for the buttons?

You can use your keyboard

#11: 9-Jun-2008, 03:49 AM


yoomai
Posts: 264

WWW
Thank you, nice snippet. I really like HighSlide, I even paid for this nifty little software.

#12: 9-Jun-2008, 04:26 AM


bunk58
Posts: 1,800

David Bunker

WWW
Thanks for the feedback Yoomai

#13: 21-Jun-2008, 08:06 AM


fruitwerks
Posts: 382

tacos are yummy!

This is really nice, but is there a way to use only a single thumbnail for a series of images? And is there a way to have on-the-fly thumbnail creation?

#14: 21-Jun-2008, 08:38 AM

Moderators

Kristalin
Hello World
Posts: 220

Memento vivere

WWW
perfeckt
be KiVi, be gReen

#15: 21-Jun-2008, 10:39 AM


bunk58
Posts: 1,800

David Bunker

WWW
Sorry for the late reply!
@fruitwerks
That's not the way Highslide works, it's designed to allow having multiple full size images open and dragging them around.
I'm sure the thumbnails could be generated on the fly by phpThumb or DirectResize etc.
@Kristalin
Thanks

EDIT You can remove the thumbnails and still have the full size images available!
« Last Edit: 21-Jun-2008, 07:13 PM by bunk58 »

#16: 21-Jun-2008, 06:56 PM

Soshite
Posts: 925

WWW
I have a specific size for the content area of my website. Does this have the images "wrap" to the next line in this case?
My Snippets
-> PopUpChunk v1.0

#17: 21-Jun-2008, 07:09 PM


bunk58
Posts: 1,800

David Bunker

WWW
The thumbnails are positioned by your layout/CSS.
The large images can be positioned to open where you want by using the top, right, bottom & left margin feature.
Remember they can be dragged anywhere in the browser window.

#18: 22-Jun-2008, 11:42 PM

Coding Team

BobRay
Posts: 5,339

WWW
Very nice effect but you get a text menu that goes off the right side of the screen until all the images are fully loaded in IE7. It can take a while on a slow connection.

You might want to use JS to preload the images before displaying the page.
MODx info for newbies: http://bobsguides.com/MODx.html

#19: 23-Jun-2008, 03:07 AM


bunk58
Posts: 1,800

David Bunker

WWW
BobRay, are you referring to the FishEye menu?

#20: 23-Jun-2008, 11:45 PM

Coding Team

BobRay
Posts: 5,339

WWW
BobRay, are you referring to the FishEye menu?


Yes. It also happens in FF, although FF at least wraps the menu so it doesn't go off the right side. All the images appear fairly large with text under them, then the normal fisheye menu replaces them.
Bob
« Last Edit: 23-Jun-2008, 11:50 PM by BobRay »
MODx info for newbies: http://bobsguides.com/MODx.html
Pages: [1] 2 3   Go Up
0 Members and 2 Guests are viewing this topic.