Post

1 follower Follow
1
Avatar

ResizeRotateHTML

This script ResizeRotateHTML dosen,t work. On Ipad with os 6.0 is ok but on Ipad with os 4.0 the picture are thery small and i have black bacground?? Pleas help. I don't now how to fix this.

Łukasz

Please sign in to leave a comment.

7 comments

0
Avatar

Hi,

Is it possible for you to send us the script you are using along with its' assets. That way it's easier to troubleshoot.

Regards,

Anders 

Anders Odevik 0 votes
0
Avatar

Hi,

Please i  have used this same script on ipad with os 6.0 and it worked perfectly well, but they did not work  well on android device, can you help to adjust the script so it can work on an android device. I am testing with Samsung Galaxy Tab 2 with Android 4.0.4, I have attached the script and images with the android dimension I am working with. Thank you.

ASHIMI ISAIAH 0 votes
0
Avatar

Hi Ashimi,

Is it possibel for you to point me to where you found this script?

Regards,

Anders 

Anders Odevik 0 votes
0
Avatar

Hi,

I found the script in the post below

New image on rotate (Resize on rotate)

Anders Odevik

posted this on March 05, 2012 13:02

  • inShare 

-  

This is an html example for switching an image when rotating the device.

  • Download the attached file below. 
  • Make the html box cover the whole area in both landscape and portrait (197 x 197 mm) and then make sure to check the box "Resize on rotate". Link to the .html file in the zip file.
  • Replace "ipad-portrait.jpg" with the image you want in portrait and "ipad-landscape.jpg" with the image you want in landscape. Make sure to keep the same filenames. If you are making a retina MIB version of this, be sure to add retina resolution versions of the images as well (samples in the attached file) following the retina naming convention in the sample files: ipad-retina-landscape.jpg and ipad-retina-portrait.jpg

-
ResizeRotateHTML.zip   ResizeRotateHTML.zip

Please help me send another script edited for Android Tablet. thank you.

ASHIMI ISAIAH 0 votes
0
Avatar

@ASHIMI: I will have to check with our Android developers what we can do in order to get a similar html script work on Android. I will get back to you as soon as I know more.

Regards,

Anders

Anders Odevik 0 votes
0
Avatar

@ASHIMI: We are not able to get it to work on Android at this moment. My suggestion would be to find a similar html script and try it out on Android. It is hard to help you with this as it is not one of our Mag+ features, it is basically an html script that we have found that work on iOS.

Let us know how it works out!

Regards,

Anders 

Anders Odevik 0 votes