Image gallery.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
scorpio90
Forum Newbie
Posts: 23
Joined: Wed Mar 10, 2010 10:45 am
Location: Newcastle

Image gallery.

Post by scorpio90 »

Hey guys,

i know that this may not be the correct place to put this post, however does anyone know where i can get a image gallery that i can insert into my php code that looks the same as the one you get on a e-bay listing item ..(the one where when you hover over the thumbnail you can see it larger above ? )

i have searched quite alot and found alot of websites like dynamic drive ect.. but they dont seem to have that specific one :(

any help or links to a site with one will be fantastic !

thankyou in advance and sorry if this is not the correct place to post this question :D
User avatar
mecha_godzilla
Forum Contributor
Posts: 375
Joined: Wed Apr 14, 2010 4:45 pm
Location: UK

Re: Image gallery.

Post by mecha_godzilla »

You'd be better to do this in something like Flash and use your PHP script to load the relevant values in to it. I can't remember how eBay does it but the 'zoom' functionality is probably all client-side IE Flash, JavaScript/DHTML or (dare I say it) Java.

There are tons of Flash files and JavaScript examples out there that will do this for you, so the challenge is really just to get the PHP values into your file in the right way. What you're looking for (if you're searching) is "rotating image gallery" or something similar. Remember that Flash allows you to dynamically import images at runtime, so all your PHP script needs to do is generate an XML file with the right values.

You could also - whisper it - check the source code on eBay to see how they're doing it (just for education purposes of course!) Remember, you can't take their code but you can at least see what technology they're using.

HTH,

Mecha Godzilla
scorpio90
Forum Newbie
Posts: 23
Joined: Wed Mar 10, 2010 10:45 am
Location: Newcastle

Re: Image gallery.

Post by scorpio90 »

Thats great! thanks for the advice i will have a look ... hopefully i will get something sorted :D
User avatar
mecha_godzilla
Forum Contributor
Posts: 375
Joined: Wed Apr 14, 2010 4:45 pm
Location: UK

Re: Image gallery.

Post by mecha_godzilla »

Have you seen this script yet - this would seem to do what you want:

http://www.isdntek.com/tagbot/xsell.htm

Regards,

M_G
Post Reply