Jump to content


Image viewer


5 replies to this topic

#1 Gimler

    Young Padawan

  • Members
  • Pip
  • 20 posts
  • Gender:Male
  • Location:Holland
  • Interests:Games<br />Anime

Posted 15 December 2006 - 11:11 AM

Hey everybody!

I need some help coding my 'new' image viewer for my website. I found this website and I loved there image viewer. I saw it somewhere before but that doesn't matter. Now I want to make something similar to that but I really don't know with wich coding language it's made. I searched P2L for a tut but can't find one.. I'm guessing it's Javascript, but I don't know for sure.

Can somebody help me find a tutorial so I can make something similar?

Thanks <_<

#2 Jacorre

    P2L Jedi

  • Members
  • PipPipPip
  • 824 posts
  • Gender:Male
  • Location:USA
  • Interests:Computers, Technology, Internet, Graphic/Web Design, Music, Soccer

Posted 15 December 2006 - 11:14 AM

This is like LightBox.

#3 Gimler

    Young Padawan

  • Members
  • Pip
  • 20 posts
  • Gender:Male
  • Location:Holland
  • Interests:Games<br />Anime

Posted 15 December 2006 - 11:35 AM

Thanks for the fast reply <_<

Btw: do you know a other way to create a image viewer like that?
Because I like to code things myself, with the help of a tutorial offcourse xP

#4 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 15 December 2006 - 02:00 PM

Correction Jacorre, that is LightBox. I've never used it before, but i was using DebugBar to see what all was going on, and there is a LightBox function in there...

For the overall page, it's just HTML, and possibly PHP to generate the thumbnails. Deviantart has something similar to what happens when you click an image. The JS used is way beyond me, and if you happen to find a tutorial on how to do it, i would be extremely surprised. You can probably find something for the expanding box, but shading the background i've never seen before.

If you like to code, i would recommend downloading LightBox there and sifting through their files to see what is done. Looking at actual source code and figuring out how it works is often times more benificial than a tutorial anyways.

Edited by rc69, 15 December 2006 - 02:01 PM.


#5 Hayden

    P2L Jedi

  • Members
  • PipPipPip
  • 716 posts
  • Gender:Male
  • Location:Texas

Posted 16 December 2006 - 01:36 AM

I've always kinda liked Singapore

found it one day strolling through Freshmeat

#6 Gimler

    Young Padawan

  • Members
  • Pip
  • 20 posts
  • Gender:Male
  • Location:Holland
  • Interests:Games<br />Anime

Posted 16 December 2006 - 02:56 AM

Singapore looks good indeed! But that wasn't really what I was looking for.
Thanks for the tip anyway ^_^

I think I'm just going to download lightbox and try it out. Maybe I change some things, maybe not.
Thanks for your help, all of you!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users