View Full Version : Sencha.io Src is returning the wrong screen size.

23 Sep 2011, 8:00 AM
Right now Sencha.io Src seems to be returning the wrong screen sizes for the default and percentage widths.

I have a test page up at http://www.12ftguru.com/senchaIO/ with the following code:

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<meta name="generator" content="BBEdit 10.0" />
div, img {
float: left;
div.blocky {
background: #c00;
width: 640px;
height: 640px;
<div class="blocky">&nbsp;</div>
<img src="http://src.sencha.io/http://12ftguru.com/senchaIO/images/cat2.jpg">
<img src="http://src.sencha.io/640/http://12ftguru.com/senchaIO/images/cat2.jpg">


The first image should scale to the screen size, but it does not for either iPod Touch or iPad. The second image scales correctly to 640px (as seen by the big red 640x640 block). Using percentage widths only returns the percentage of the incorrect original size.

I have confirmed this on a couple of machines. Any idea what's going on? Is anyone NOT seeing this?28279

23 Sep 2011, 2:21 PM
Also might be nice to have a forum for this product.

I even copied an pasted the example code from the How to use sencha.io Src web page (http://www.sencha.com/learn/how-to-use-src-sencha-io/) and it still does not scale correctly. http://12ftguru.com/senchaIO/index_alt.html

alt='My smaller image'

I mean someone has to be monitoring the site, right?