Thursday, September 2, 2010

Re: Caching Images

Your requirements aren't compatible w/ image bundle. It looks like you'll have to rely on the browser cache.

On Tue, Aug 31, 2010 at 8:06 AM, pete <superpete@geekcity.de> wrote:
Hello,

I'm kind of confused how to proceed in the following scenario:
I am writing on a card game, the cards have a small and a full image
and are dynamical created at start time from an image dir on the
server (meaning the server reads the image dir and creates cards
according to filename from the images in the dir)
Now I would like to cache all those images on the client side and hold
a cached card array. I read about imagebundle and clientbundle, but
a) I don't know the filenames at compile time
b) I have certain scaling methods that maybe depend on the original
image format (since I read that imagebundle creates one big composed
image + an interface to kind of "cut" out the respective image from
the big image). At least I need to be able to scale the images just as
it is possible with classical image files...

Has anyone some tip on how to achieve this the most efficient and
elegant way? Is ImageBundle still a good way to do that? And if yes,
how to manage the dynamic nature? Any help would be highly
appreciated :-)

Greetz

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment