iPad HD preloads images EXTREMELY SLOW with iViewer Next

76 views
Skip to first unread message

ptob...@paragon-usa.com

unread,
May 25, 2012, 12:04:11 PM5/25/12
to comman...@googlegroups.com
Having issues where images preload very slowly on the iPad HD iViewer Next. I'm talking like 40+ minutes to over an hour and still not complete. Same gui file and resources loaded from same web server in under 2 minutes on iPad 2 or original iPad. Using iViewer Next version v4.0.210 build 210 / 4.0.6 build 183 (both versions from iViewerNext settings). Anyone else see this issue? Tried it on 4 different iPad HD's (all had same issue). Then on 3 iPad 2's, and 2 iPad 1's which loaded fine. If I choose not to preload images, then seems like nothing loads save an image or two here and there.
 
Thanks
--
Pete

Jordan

unread,
May 25, 2012, 12:09:04 PM5/25/12
to comman...@googlegroups.com
Are you using Upload Service? I suggest to try to download from a standard webserver.
Can't say what's causing the difference in preload time, though.

ptob...@paragon-usa.com

unread,
May 25, 2012, 12:11:49 PM5/25/12
to comman...@googlegroups.com
Nope, loading from a dedicated Web server. And like I said, works fine on iPad 1 and 2 so I doubt the download source is the issue.

ptob...@paragon-usa.com

unread,
May 25, 2012, 12:16:17 PM5/25/12
to comman...@googlegroups.com
Jordan, have you successfully loaded to an iPad HD without such a delay? I wonder if this is a common problem. Makes me think that the iPad HD is doing some kind of on-the-fly image processing in support of its HD retina display. Just a wild guess.

Jordan

unread,
May 25, 2012, 12:48:57 PM5/25/12
to comman...@googlegroups.com
No, I didn't, and I dare to say I think your guess is right.
You might try this to check: rename some of your images as {filename}@2x.png as detailed here: http://www.commandfusion.com/wiki/index.php?title=Apple_Retina_Displays
Even if the image size will not be the one you want, if it does load swiftly you might have confirmed your theory.
CF team might know more about this.

Florent Pillet

unread,
May 25, 2012, 12:53:42 PM5/25/12
to comman...@googlegroups.com
I think the theories laid out here regarding load speed are correct. iViewer sees that you are running on a HD device, so it first tries to grab the @2x version of every image. When this fails, it loads the regular version. This imposes a time penalty when loading from a web server.

Right now, the best way to alleviate the issue is to deliver your GUI in one shot as a zip file. We'll be adding a switch to turn the feature off in iViewer.

Florent

On May 25, 2012, at 6:04 PM, ptob...@paragon-usa.com wrote:

> Having issues where images preload very slowly on the iPad HD iViewer Next. I'm talking like 40+ minutes to over an hour and still not complete. Same gui file and resources loaded from same web server in under 2 minutes on iPad 2 or original iPad. Using iViewer Next version v4.0.210 build 210 / 4.0.6 build 183 (both versions from iViewerNext settings). Anyone else see this issue? Tried it on 4 different iPad HD's (all had same issue). Then on 3 iPad 2's, and 2 iPad 1's which loaded fine. If I choose not to preload images, then seems like nothing loads save an image or two here and there.
>

--
Florent Pillet - Software Engineering Lead
www.commandfusion.com



ptob...@paragon-usa.com

unread,
May 25, 2012, 12:59:40 PM5/25/12
to comman...@googlegroups.com
Hey Florent,
 
How do I deliver the GUI file and images as a ZIP? Can't say I ever read about that method anywhere. I've always used a Web server and pointed to GUI file location and images directory.
 
Thanks!
--
Pete
 

On Friday, May 25, 2012 10:53:42 AM UTC-6, Florent Pillet wrote:
I think the theories laid out here regarding load speed are correct. iViewer sees that you are running on a HD device, so it first tries to grab the @2x version of every image. When this fails, it loads the regular version. This imposes a time penalty when loading from a web server.

Right now, the best way to alleviate the issue is to deliver your GUI in one shot as a zip file. We'll be adding a switch to turn the feature off in iViewer.

Florent

On May 25, 2012, at 6:04 PM

Florent Pillet

unread,
May 25, 2012, 1:08:46 PM5/25/12
to comman...@googlegroups.com
Just zip the whole folder containing your GUI and all your other stuff (assets / subfolders, etc). Place the zip on your webserver. Point to it from iViewer.

Bonus: no need to preload anymore, as everything is read and cached once and for all.

Florent

On May 25, 2012, at 6:59 PM, ptob...@paragon-usa.com wrote:

> Hey Florent,
>
> How do I deliver the GUI file and images as a ZIP? Can't say I ever read about that method anywhere. I've always used a Web server and pointed to GUI file location and images directory.
>
> Thanks!

--

ptob...@paragon-usa.com

unread,
May 25, 2012, 5:14:34 PM5/25/12
to comman...@googlegroups.com
Hey Florent,
 
So I tried your suggestion and the panel loads quickly, but the images do not. I have in the zip file the same folder hierarchy ( /Images ) and the crestronMobile.js in the root with the gui file. What happens is the gui file loads fine, but there are no images in the project.
 
I also tried placing all images in the root and same result. The GUI file is loading, but without the images. Do I need to make and special settings in iViewerNext for this to work properly?
 
Thanks!
--
P
 

On Friday, May 25, 2012 11:08:46 AM UTC-6, Florent Pillet wrote:
Just zip the whole folder containing your GUI and all your other stuff (assets / subfolders, etc). Place the zip on your webserver. Point to it from iViewer.

Bonus: no need to preload anymore, as everything is read and cached once and for all.

Florent

On May 25, 2012, at 6:59 PM,

Jarrod Bell

unread,
May 26, 2012, 6:38:11 AM5/26/12
to comman...@googlegroups.com
Can you upload the zip somewhere and send us the link to it? Or just attach it if its not too large.
Email to support at commandfusion

Jarrod
--
You received this message because you are subscribed to the Google Groups "CommandFusion Software" group.
To view this discussion on the web visit https://groups.google.com/d/msg/commandfusion/-/mHzM9aPuWkEJ.
To post to this group, send email to comman...@googlegroups.com.
To unsubscribe from this group, send email to commandfusio...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.

CustomCodeCrafters

unread,
May 28, 2012, 3:47:29 AM5/28/12
to comman...@googlegroups.com
Hi,

We're running a 3rd Gen iPad here - haven't experienced any change in performance with caching images in iViewer Next, either standard or @2x .

Not sure that helps though!

Mike
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.

Pete T

unread,
May 30, 2012, 12:35:28 PM5/30/12
to comman...@googlegroups.com
Done. Should be in your email. Thanks!

On Saturday, May 26, 2012 4:38:11 AM UTC-6, CommandFusion wrote:
Can you upload the zip somewhere and send us the link to it? Or just attach it if its not too large.
Email to support at commandfusion

Jarrod

On 26/05/12 7:14 AMwrote:
Hey Florent,
 
So I tried your suggestion and the panel loads quickly, but the images do not. I have in the zip file the same folder hierarchy ( /Images ) and the crestronMobile.js in the root with the gui file. What happens is the gui file loads fine, but there are no images in the project.
 
I also tried placing all images in the root and same result. The GUI file is loading, but without the images. Do I need to make and special settings in iViewerNext for this to work properly?
 
Thanks!
--
P
 

On Friday, May 25, 2012 11:08:46 AM UTC-6, Florent Pillet wrote:
Just zip the whole folder containing your GUI and all your other stuff (assets / subfolders, etc). Place the zip on your webserver. Point to it from iViewer.

Bonus: no need to preload anymore, as everything is read and cached once and for all.

Florent

On May 25, 2012, at 6:59 PM,
> Hey Florent,
>  
> How do I deliver the GUI file and images as a ZIP? Can't say I ever read about that method anywhere. I've always used a Web server and pointed to GUI file location and images directory.
>  
> Thanks!

--
Florent Pillet - Software Engineering Lead
www.commandfusion.com



--
You received this message because you are subscribed to the Google Groups "CommandFusion Software" group.
To view this discussion on the web visit https://groups.google.com/d/msg/commandfusion/-/mHzM9aPuWkEJ.
To post to this group, send email to comman...@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.

Simon Tuffley

unread,
May 31, 2012, 9:32:59 AM5/31/12
to comman...@googlegroups.com
I've had that. It happens when the iPad is connected to a different AP to the laptop. Forget the network and make sure it's on the same AP?

To view this discussion on the web visit https://groups.google.com/d/msg/commandfusion/-/AJLXU1zCFHEJ.

To post to this group, send email to comman...@googlegroups.com.
To unsubscribe from this group, send email to commandfusio...@googlegroups.com.

Jarrod Bell

unread,
May 31, 2012, 10:29:39 AM5/31/12
to comman...@googlegroups.com
FYI - I just loaded the project from guiDesigner onto both an iPad2 and a "new iPad" (retina) and saw exactly the same response - loaded fine in a matter of about 15 seconds (which is perfectly normal for a project of this size). Using iViewer Next v4.0.210 from the app store.

Loading the zip and the images don't show as you mentioned - we will look into this. Looks like a problem with subfolders and image paths in zips.

But in any case, certainly not seeing any slowness on my end when not using a zip - loading the project directly from guiDesigner.
It may be the case that the web server you are using takes a LONG time to send back a 404 message for the missing @2x graphics that the iPad3 requests.

Jarrod
To view this discussion on the web visit https://groups.google.com/d/msg/commandfusion/-/AJLXU1zCFHEJ.

To post to this group, send email to comman...@googlegroups.com.
To unsubscribe from this group, send email to commandfusio...@googlegroups.com.

Pete T

unread,
May 31, 2012, 1:12:35 PM5/31/12
to comman...@googlegroups.com
Got it.  Looks like my bootstrap .htaccess on the current location was choking from the 404s. I moved the files to a new location and it works like a champ.
 
Thanks for your help!
Reply all
Reply to author
Forward
0 new messages