Reputation: 2126
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
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
Reputation: 25349
use jquery there are many plugins to do it http://leandrovieira.com/projects/jquery/lightbox/ for example
Upvotes: 1
Reputation: 4308
See this site: http://ajaxian.com/archives/lightboxjs-easy-image-overlays-with-javascript
Upvotes: 0