Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Ajax image reloading

  1. #11
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Redwood City
    Posts
    30,626
    Vote Rating
    56
      0  

    Default

    If you want to load an image, create an image tag, set its src, append it to the document - the browser will then load it. If you set its class to "x-hide-offsets" it will be rendered offscreen, and you can move it into view, when you are ready.

    There's lots of things you can do, it's up to you.
    Longtime Sencha geek. Outspoken advocate of pure Javascript Views. Posts my own opinions.

  2. #12
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    542
    Vote Rating
    7
      0  

    Default

    Add some fake query param to image url, ie:
    image.src = '/some/path/to/image.gif?dc=' + Ext.id();
    Use the force - read the source.

  3. #13
    Ext User
    Join Date
    Jun 2008
    Posts
    56
    Vote Rating
    0
      0  

    Default

    This is what i did

    1. Fake query: FFox is fine. IE Not refreshing
    2. Change the url with random name: like /bla/bla/math.random(): FFox is fine, IE not refreshing
    3. Senda 302 and redirect to somewhere else: Again: IE is not doing it.

  4. #14
    Ext User
    Join Date
    Jun 2008
    Posts
    56
    Vote Rating
    0
      0  

    Default

    Sooo.. Please dont hit me

    Damn IE is reporting jpeg as image/pjpeg instead of jpeg so every picture i was uploading was folling though the schema -.-

    Close please

  5. #15
    Ext User
    Join Date
    Mar 2010
    Posts
    5
    Vote Rating
    0
      0  

    Default any solution - how to use same url with different contents?

    Could we manage to find - how to use same url with different content?

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •