I'm developing an iPhone application which will show text and images from XML in webviews and place webviews over scrollview (each webview is a page). There are more than 100 images of different large sizes but i have placed my webview with a frame of 550 width and 500 height.
I found some images are more than 550 width so I'm getting problems when scrolling the to see the next page (meaning the next webview content).
I tried to set scalePageToFit
for the webview but both the image and the text appear small .
Can anyone help to resize all webview image which are more than 550 pixels wide to a set width of 500 so that images will fit in the webview? Is that possible in JavaScript for iPhone or by any other means?