1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    209
    Vote Rating
    0
    Bobafart is on a distinguished road

      0  

    Default Best way to load a large series of images and overlap them?

    Best way to load a large series of images and overlap them?


    I am writing a web app for myself (for fun) which allows me to read CT and MRI scans off my webserver. The objective is to overlay images of a CT scan over one another and "scroll" through each image using the mouse and up/down arrow keys.

    What I am planning to do is load up the images (which can be up to 12 megs in a series) using UpdateManager (XML database query) and preloading them into an Image() array in JS.

    If a CT scan has 80 images I use CSS/markup to assign each image to a different z-index to overlay them on top of one another.

    I then assign a listener for mouse up and mouse down as well as the keyboard up and down arrow keys in order to scroll through the images.

    Is this the best way to do this or is there a better way to tackle this problem?

  2. #2
    Ext User
    Join Date
    Mar 2007
    Posts
    209
    Vote Rating
    0
    Bobafart is on a distinguished road

      0  

    Default


    anyone?

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    There are many ways to tackle a problem, and yours sounds OK from your brief description. Have you actually tried it yet?

    BTW, you don't have to assign every image a unique zindex assuming only one will be visible at a time. The topmost one is really the only one that matters. You could assign every image zindex 0 and assign the current image zindex 1, then simply switch it to 0 and the next active one to 1 without trying to "manage" them in a formal way.

    You might also just alternate setting and removing the 'ylayout-inactive-content' class from elements -- adding it will set visible=false and move the element to -10000 -10000 xy.

Similar Threads

  1. Print a large grid => blank page
    By gizzmo in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 26 Mar 2008, 9:16 AM
  2. grid, domhelper SLOW for large sets
    By amackay11 in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 6 Mar 2007, 11:32 AM
  3. Trying to Load multiple Images into an Array at One Time
    By Bobafart in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 23 Feb 2007, 2:32 PM
  4. What is the overlap between yui and yui-ext?
    By jweber in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 26 Jan 2007, 5:09 PM
  5. Grid columns overlap on resize
    By donalconlon in forum Ext 1.x: Help & Discussion
    Replies: 12
    Last Post: 12 Dec 2006, 9:49 AM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar