A lot of ways, but the easiest I can think of is get the images with
an xmlhttprequest (or a direct server call), store them in a jason
formated list , do an eval on the list, and then use straight html to
display the image. As a img src=. Both dashcode and iui have
functionality for displaying images but because I like more fine
grained control over the display I like constructing the html .
for (var i = 0; i < items.length; i++) {
var img = "./images/" +items[i].image + "/medium.jpg";
var imageTag = "<img src=\"" + img + "\" height=\"300\"
width=\"300\">";
spotlight.innerHTML = "imageTag" />";
}
if you want to use java and play with a really cool serverside
framework you can look at this. But only if you want to use and know
java.
http://web.me.com/cannonwc/Site_4/contents/Entries/2009/1/28_Building_A_carousel_in_5_steps.html
On May 16, 11:40 am, Derek Williams <[email protected]> wrote:
> Same here (sans servlets)
>
> On Fri, May 15, 2009 at 10:54 PM, SP <[email protected]> wrote:
>
> > Hi all,
>
> > I am sending an image from the server to the client which is iPhone. I
> > am using servlets on the server-side. How do I display this image on
> > the iPhone and can I use the picnh and zoom feature. Can I also
> > capture the x any y coordinates of a point in the image ?
>
> > Thanks
>
> --
> Derek Williams
> Cell: 970.214.8928
> Home Office: 970.416.8996
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---