Amir
Amir

Reputation: 2126

how can i popup picture in php?

when picture viewed ,when me click on it picture will display as pop up, and back screen will be light black?

Upvotes: 1

Views: 1553

Answers (4)

My Other Me
My Other Me

Reputation: 5107

Check out Lightbox or Lightbox2

Upvotes: 0

Tapdingo
Tapdingo

Reputation: 259

Shouldn't be done with PHP alone, since you don't want to reload your page every time you click on an image. Google for lightbox and use an appropriate JavaScript library for client side effects :)

Upvotes: 2

Nir
Nir

Reputation: 25349

use jquery there are many plugins to do it http://leandrovieira.com/projects/jquery/lightbox/ for example

Upvotes: 1

Related Questions