• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Images html problem?

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have images in a directory called images .And in gallery.html file I want to do two things:

1: Their is select button which says how many images you want to select like 4 6 8 10 .And if I select 4 it shloud display 4 images in grid/table/frame format.

How can I do that?

[Bear edit: removed the extraneous question marks from the title. One is quite sufficient.]
[ February 01, 2007: Message edited by: Bear Bibeault ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your client code has no knowledge of what's on the server so you're going to have to involve some server-side code such as JSP or PHP.
 
Kasak Tahilramani
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This problem will require you to create a single page that takes images from a directory and display them on a single page using a class. The page will show the smaller images in a table format. When an image is clicked it will open the larger version of the image in a new window.

Display six images per page by default. The user should be able to select between 4, 6, 8, or 10 images per page.

Here is the basic structure of the class I created. Created the file Gallery_class.php


PHP script. Create the file :- gallery.php



ANd third file will be gallery.html where I will have my interface.

I am not able to configure how my .html .php and third file gallery_class.php will interact with each other.
 
reply
    Bookmark Topic Watch Topic
  • New Topic