Discussion Forums  >  WebViews and HTML for Mobile

Replies: 4    Views: 72

juansezoh
Code is Art
Profile
Posts: 25
Reg: Nov 01, 2012
Medellín
2,200
02/24/13 01:54 PM (11 years ago)

Image refresh and html

Hi friends, my application has a number of documents (html) containing images. Images take a little longer to load when loaded and remain on the text. And the text is written again after images on the same screen. As I can make screen is refreshed only after loading the content?. I am aware of the comments and I hope I can help
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
02/24/13 02:10 PM (11 years ago)
Hi @Juansezoh, I'd like to help but I don't understand the question. Would you be able to reformulate? Are the HTML screens online or offline? Farcat
 
juansezoh
Code is Art
Profile
Posts: 25
Reg: Nov 01, 2012
Medellín
2,200
like
02/24/13 02:15 PM (11 years ago)
Hi, is custom html screen. The images in the document are in buzztouch server, when I load the app screen, the text is first loaded but does not reserve space for images, when loading the images are loaded above the text. I need to refresh when espcacios resize images. Im aware, thanks
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
02/24/13 02:22 PM (11 years ago)
Got it thanks, For the image to have a reserved space you need to tell the browser its width and height. <img src="smiley.gif" alt="Smiley face" height="42" width="42"> Try it, it should help. Farcat
 
juansezoh
Code is Art
Profile
Posts: 25
Reg: Nov 01, 2012
Medellín
2,200
like
02/24/13 06:31 PM (11 years ago)
Hello Farcat , The problem is that to keep the proportions, use percentage dimensions (width = 70%). Maybe that's why the browser does not reserve adequate space
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.