Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Gadget Slide Show Problem

12 Apr 2013   #1
steamer

Windows 7 Home Premium 64 bit
 
 
Gadget Slide Show Problem

Hi,
This is not a major OS or similar problem, more a nuisance.
I would like to use the Slide Show Gadget to display an image, say, 75% of the screen but the "large size" I can get is about 3" x 2" (OK, 75mm x 50mm for youngsters).
Can anyone help please?
TIA
Chris


My System SpecsSystem Spec
.

13 Apr 2013   #2
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

Welcome to Seven Forums steamer. Looks like you can edit the .js file and change the maximum size settings (320x240).

Navigate to C:\program files (x86)\Windows Sidebar\Gadgets\SlideShow.Gadget\en-US\js folder, and inside you will find slideShow.js> Right click slideShow.js and choose Open with> If Notepad is not a choice listed, click the small arrow next to Other programs and choose Notepad (other programs can work, but notepad is easiest)> Scroll down to

var maxUndockedWidth = 320;
var maxUndockedHeight = 240;


Here you can change the maximum sizes. You may have to keep the aspect ratio the same (4:3), but you might experiment with 16:9

Looks like you would have to change the BG and frame numbers as well to match the other changes. You'd have to make all the numbers the same and make the correct width and height adjustments for the other settings. IE: if you change the 320x240 to 640x480 (double size, easier to do the math), the other settings (360x280) would have to change to 720x560

gUndockFlag = true;
with(document.body.style)
width=360,
height=280;

with(slideshowBg.style)
width=360,
height=280;
slideshowBg.src="url(images/on_desktop/slideshow_glass_frame.png)";

with(bar.style)
width=112,
height=23,
top=220,
left=119;

with(pictureFrame.style)
top=16,left=17,width=320, height=240;

Click the Close X upper right and choose to save changes> See how it looks

There may me a limit to how big, and the display quality may suffer at larger sizes. I would make a copy of the original slideShow.js file to restore just in case it gets screwed up. Good luck, let us know how it went. A Guy
My System SpecsSystem Spec
14 Apr 2013   #3
steamer

Windows 7 Home Premium 64 bit
 
 
Still trying!

Thanks for the suggestion, but unfortunately, whatever I try, I can't get 'permission' to 'save' the js file although my User is as administrator.

In my ignorance is there anything I'm missing for obtaining 'permission'?

Cheers

Chris
My System SpecsSystem Spec
.


14 Apr 2013   #4
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

You likely have to Take Ownership of the file. The easiest way is using Mark's tutorial to add a shortcut to your context menu.

Take Ownership Shortcut

A Guy
My System SpecsSystem Spec
02 May 2013   #5
steamer

Windows 7 Home Premium 64 bit
 
 

Thanks for that. I'll give it a try!
Cheers
Chris
My System SpecsSystem Spec
18 Feb 2015   #6
abarnes4

Windows 7 Home Premium 64 bit
 
 

Apologies for digging up this thread, but this is literally the only place on the web where I could find a way to tweak the Windows 7 slide show gadget (surely I can't be the only person who still uses and likes it?), and I noticed that the conversation seemed unfinished.

So I tried A Guy's suggestion, and it worked, with a few adjustments:
  • Actually the version of the gadget you need to edit is C:\Program Files\Windows Sidebar\Gadgets\SlideShow.Gadget\... (i.e. not the one in the Program Files (x86) folder)
  • I trebled the maximum picture dimensions from 320×240 to 960×720 as suggested above (portrait photos and those at aspect ratios other than 4:3 are still resized to fit as normal).
  • But trebling the with(slideshowBg.style) section stretched the frame, which is the file ...\SlideShow.Gadget\images\on_desktop\slideshow_glass_frame.png and is naturally sized for 320×240 photos, to a big blurry mess.
  • So I manually increased the size of the frame to a 1000×760 image to take the 960×720 photo size - I've attached it in case anyone else wants to use it - and changed the with(document.body.style) and with(slideshowBg.style) settings accordingly.
  • I also moved the controls by tweaking the values in the with(bar.style) section. (NB The controls are still almost invisible thanks to a bug introduced by IE11.)
  • Here's a screenshot of the bigger gadget in action:
I've attached the slideShow.js file (uploaded as a txt file so you will have to rename) for the larger widget in case anyone wants to try it. Remember you will have to take ownership of the original Windows file to overwrite it, as mentioned above. Usual caveats about downloadings script files apply.

I hope this helps anyone else out there who was looking for this.


Attached Thumbnails
-slideshow_glass_frame.png   -screenshot.jpg  
Attached Files
File Type: txt slideShow.txt (54.4 KB, 3 views)
My System SpecsSystem Spec
19 Feb 2015   #7
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

Welcome to Seven Forums abarnes4. Thanks for the great addition. It will help anyone who finds this thread searching for a fix

A Guy
My System SpecsSystem Spec
Reply

 Gadget Slide Show Problem




Thread Tools





Similar help and support threads
Thread Forum
Barely visible buttons on the slide show gadget
By any chance have anyone experienced this issue or would know a way to fix it. Many thanks. :)
Gadgets
got a problem , sushi's driveinfo gadget wont show anymore
after uninstalling and reinstalling sushi driveinfo it still wont show hope somebody could update this gadget so it works again , im running the latest updates on my w7 64bit ultimate sp1 copy , thanks in advance :D
Gadgets
Flagging a gadget slide show photo so it can be searched for later.
My daughter likes to apply long descriptive file names to her photos, not right after downloading, but rather when she sees an interesting one during a gadget slide show. I want her to be able to flag the changed photo so that I can later search for it, remove the flag, and update the photo on her...
Music, Pictures & Video
"View" button in Slide Show Gadget doesn't work
I've noticed in all builds of Windows 7 that the "View" button of the Slide Show Gadget doesn't work. It should open the displayed picture, but it does nothing. Anybody experiencing the same? Regards!
Gadgets
Slide Show gadget picture View problem in windows 7 sid
Slide Show gadget picture View problem in windows 7 sidebar? Hi i have a problem with slideshow gadget in windows 7 ultimate.. Slide show works fine but the problem is i cant view the picture by pressing the view button in slide show gadget.. I also deleted the settings.ini file and 7...
Gadgets
Help!!! Can't view photos in slide show gadget
This is driving me crazy! The view button in slide show doesn't work. I didn't install any software that might cause the problem. I've tried uninstall and reinstall it but it still wouldn't work. I installed windows live photo gallery. I'm running Win7 home premium from HP. Can anyone tell me how...
Gadgets

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 20:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App