Page 1 of 1

Image assets not rendering in mobile web app

Posted: Mon Apr 02, 2012 3:20 pm
by anilsojitra

I have created a mobile web app and included some images. However when I deploy the mobile website (www.thisapp.co) the images do not render. The assets are present in the following directory:

files\views\assets

The images are rendering when Testing the mobile web app through Tiggzi.

I have made the project public:

http://tiggzi.com/preview/8251fc1e-bf...

I would be grateful if you could please advise why the images assets are not rendering.

p.s. i noticed that the asset files do not have a file extension (e.g. png) but neither do image assets on another one of my projects and they are rendering properly.

Thanks

Anil


Image assets not rendering in mobile web app

Posted: Mon Apr 02, 2012 4:57 pm
by maxkatz

To which (application) server did you deploy thisapp.co?


Image assets not rendering in mobile web app

Posted: Tue Apr 03, 2012 8:35 am
by anilsojitra

Well it's deployed to an asp.net 4.0 web server but it just doesn't seem to resolve when the image assets do not have a file extension.

When I exported the project from Tiggzi, I tried it locally and it works fine. It just seems to be a problem on the web server. I have gone through the exported code and put file extensions on the images.


Image assets not rendering in mobile web app

Posted: Tue Apr 03, 2012 4:14 pm
by maxkatz

It's a known problem with Microsoft servers, they don't like images without an extension. We are working on keeping image file names as they are - so this won't be a problem.

I guess the simplest solution right now would be to rename all images to a name that has extension.