• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Question regarding photobook

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,

I am creating a photobook.
I have a main frame and a photo list. The photo list is nothing but a line of photo thumbnails.
I can drag and drop the thumbnails to the main frame where they become proper full sized pictures.
1 photobook can contain as many as 20 pictures. The 20 pictures are predefined/set pictures.

I am just wondering how this can be implemented.
a. Do I get all the images at one shot when my page gets loaded ?
1. In that case where can I keep/store the images?
2. Will getting those 20 pictures at once affect performance ?

b. Do I get the thumbnails and when the button is clicked, I get the actual image from the server using Ajax ?

One more thing...
How can I send these images from server to client using JSON object ?

Thanks,
Dee
 
Sheriff
Posts: 67694
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
This is more of a JavaScript than a JSP question, so it's been moved to a more appropriate forum.
 
reply
    Bookmark Topic Watch Topic
  • New Topic