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
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,
--
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.
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.
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.
To view this discussion on the web visit https://groups.google.com/d/msg/commandfusion/-/AJLXU1zCFHEJ.
To unsubscribe from this group, send email to commandfusio...@googlegroups.com.
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.