Gadget Slide Show Problem

steamer

New member
Local time
10:39 PM
Messages
3
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Home Premium 64 bit
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 Computer

Computer type
PC/Desktop
OS
Windows 10 Home x64
CPU
INTEL Core i5-750 Quad-Core 3.37GHz
Motherboard
ASUS P7P55D
Memory
HyperX Fury Black Series 8GB (2 x 4GB) 1866Mhz
Graphics Card(s)
EVGA GeForce GTX 750 Superclocked 1GB 128-Bit GDDR5
Monitor(s) Displays
LG 32MA68HY 32" IPS
Screen Resolution
1920 x 1080
Hard Drives
Samsung 840 Evo 120GB, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
PSU
ANTEC TruePower New TP-550, 80 PLUS, 550W
Case
ANTEC Three Hundred Illusion
Cooling
COOLER MASTER Hyper 212 Plus, 4 x 120mm 1 x 140mm Noctua's
Internet Speed
85 + Mbps
Antivirus
Avast
Browser
Vivaldi
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Home Premium 64 bit

My Computer

Computer type
PC/Desktop
OS
Windows 10 Home x64
CPU
INTEL Core i5-750 Quad-Core 3.37GHz
Motherboard
ASUS P7P55D
Memory
HyperX Fury Black Series 8GB (2 x 4GB) 1866Mhz
Graphics Card(s)
EVGA GeForce GTX 750 Superclocked 1GB 128-Bit GDDR5
Monitor(s) Displays
LG 32MA68HY 32" IPS
Screen Resolution
1920 x 1080
Hard Drives
Samsung 840 Evo 120GB, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
PSU
ANTEC TruePower New TP-550, 80 PLUS, 550W
Case
ANTEC Three Hundred Illusion
Cooling
COOLER MASTER Hyper 212 Plus, 4 x 120mm 1 x 140mm Noctua's
Internet Speed
85 + Mbps
Antivirus
Avast
Browser
Vivaldi
Thanks for that. I'll give it a try!
Cheers
Chris :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
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:
    350162d1424306829-gadget-slide-show-problem-screenshot.jpg
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.
 

Attachments

  • slideshow_glass_frame.png
    slideshow_glass_frame.png
    3.2 KB · Views: 49
  • slideShow.txt
    slideShow.txt
    54.4 KB · Views: 154
  • screenshot.jpg
    screenshot.jpg
    109.1 KB · Views: 57

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium 64 bit
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 Computer

Computer type
PC/Desktop
OS
Windows 10 Home x64
CPU
INTEL Core i5-750 Quad-Core 3.37GHz
Motherboard
ASUS P7P55D
Memory
HyperX Fury Black Series 8GB (2 x 4GB) 1866Mhz
Graphics Card(s)
EVGA GeForce GTX 750 Superclocked 1GB 128-Bit GDDR5
Monitor(s) Displays
LG 32MA68HY 32" IPS
Screen Resolution
1920 x 1080
Hard Drives
Samsung 840 Evo 120GB, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
PSU
ANTEC TruePower New TP-550, 80 PLUS, 550W
Case
ANTEC Three Hundred Illusion
Cooling
COOLER MASTER Hyper 212 Plus, 4 x 120mm 1 x 140mm Noctua's
Internet Speed
85 + Mbps
Antivirus
Avast
Browser
Vivaldi
Just a quick note to say that resizing the slide show gadget also works perfectly in Windows 10 using Gadgets Revived.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium 64 bit
Back
Top