PurpleMADcanada / Wallpaper-PhoneGap-Plugin

This plugin allows a user to save an image residing in the application folder or from a remote URL into the internal storage of the device. It also allows to set the image as a wallpaper which includes saving the image into the storage of the device.
Other
18 stars 13 forks source link

Possibility to scale and fit images for all device sizes? #4

Open wickedsunny1 opened 10 years ago

wickedsunny1 commented 10 years ago

Hello, is it possible to add something in the code to automatically scale and fit image as per mobile screen/resolution size? it would be great i think!

wickedsunny1 commented 10 years ago

anyone ?

PurpleMADcanada commented 10 years ago

Hello Sunny. We will update you on this by tomorrow for sure. Sorry for the late...

wickedsunny1 commented 10 years ago

Thank you so much, i appreciate it :) cheers Ayaz

On Fri, Mar 28, 2014 at 8:33 PM, PurpleMAD.ca notifications@github.comwrote:

Hello Sunny. We will update you on this by tomorrow for sure. Sorry for the late...

Reply to this email directly or view it on GitHubhttps://github.com/PurpleMADcanada/Wallpaper-PhoneGap-Plugin/issues/4#issuecomment-38932360 .

PurpleMADcanada commented 10 years ago

Hello Ayaz! I have one question, that you want the auto scaling of image at the HTML page or you want it after it is being saved?
1) If you want it at HTML page then you can handle it using jQuery and custom css, because here native android won't come into the picture. 2) When we are saving the image it get auto scaled. You can see the image in gallery, it is auto scaled to the width and height of the device.

Looking ahead to hear from you. :)

wickedsunny1 commented 10 years ago

Hello, Thanks for the reply. I understand about the html side and i am not considering that. You are right images are auto scaled and saved, but the problem is that image crops out and doesn't look good on screen background. i was hoping of a way where entire image shows up , auto adjusts height and width instead of cropping out the extra area ? Do you understand what i am trying to say ? Thanks again.

On Sat, Mar 29, 2014 at 9:41 AM, PurpleMAD.ca notifications@github.comwrote:

Hello Ayaz! I have one question, that you want the auto scaling of image at the HTML page or you want it after it is being saved?

1) If you want it at HTML page then you can handle it using jQuery and custom css, because here native android won't come into the picture. 2) When we are saving the image it get auto scaled. You can see the image in gallery, it is auto scaled to the width and height of the device.

Looking ahead to hear from you. :)

Reply to this email directly or view it on GitHubhttps://github.com/PurpleMADcanada/Wallpaper-PhoneGap-Plugin/issues/4#issuecomment-38986802 .

wickedsunny1 commented 10 years ago

to clarify it. this image : http://i.imgur.com/g1XnLCI.jpg changes to this on setting as wallpaper : http://i.imgur.com/HW4mugl.png

i hope you understand what i am trying to explain.

PurpleMADcanada commented 10 years ago

Hello Ayaz. First of all we are very sorry for replying so late. Thanks for clarifying the point so neatly. Yes we will work on this and release a new version soon that will overcome this issue. Please share with us, if you think something else can be changed or can be added to make it better. Looking ahead to hear from you. Thanks, PurpleMAD

ali20142014 commented 9 years ago

Hi, is there any update on this concerning the issue of the previous comment? The image is cropped and thus does not stretch correctly.

philecom commented 9 years ago

I will be looking for this addition