This discussion is archived
2 Replies Latest reply: Nov 3, 2012 10:03 PM by 774597 RSS

Image Gallery from images in database.

774597 Newbie
Currently Being Moderated
Hi,

I am developing image gallery from images stored in oracle database.

I am using JQuery ColorBox plugin (http://www.jacklmoore.com/colorbox/example1/) and I need to specify image in href for plugin.

My JSP page (http://localhost:8080/gallery/show_image.jsp?id=1) fetch image from database and show.

I can see image in browser when I run url http://localhost:8080/gallery/show_image.jsp?id=1.

But following not working when JSP page specify in href.

<h2>No Transition + fixed width and height (75% of screen size)</h2>

class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=1">Grouped Photo 1</ a>
class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=2">Grouped Photo 2</ a>
class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=3">Grouped Photo 3</ a>
class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=4">Grouped Photo 1</ a>
class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=5">Grouped Photo 2</ a>
class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=6">Grouped Photo 3</ a>
class="group3" href="http://localhost:8080/gallery/show_image.jsp?id=7">Grouped Photo 3</ a>

Any solution?

- Thanks
Zohaib.

Edited by: zohaib82 on Oct 30, 2012 2:46 AM

Edited by: zohaib82 on Oct 30, 2012 2:46 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points