Gadget Slide Show Problem


  1. Posts : 3
    Windows 7 Home Premium 64 bit
       #1

    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 Computer


  2. Posts : 53,365
    Windows 10 Home x64
       #2

    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


  3. Posts : 3
    Windows 7 Home Premium 64 bit
    Thread Starter
       #3

    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


  4. Posts : 53,365
    Windows 10 Home x64
       #4

    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 Computer


  5. Posts : 3
    Windows 7 Home Premium 64 bit
    Thread Starter
       #5

    Thanks for that. I'll give it a try!
    Cheers
    Chris :)
      My Computer


  6. Posts : 2
    Windows 7 Home Premium 64 bit
       #6

    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 Attached Thumbnails Gadget Slide Show Problem-slideshow_glass_frame.png   Gadget Slide Show Problem-screenshot.jpg  
    Gadget Slide Show Problem Attached Files
      My Computer


  7. Posts : 53,365
    Windows 10 Home x64
       #7

    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


  8. Posts : 2
    Windows 7 Home Premium 64 bit
       #8

    Just a quick note to say that resizing the slide show gadget also works perfectly in Windows 10 using Gadgets Revived.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 14:52.
Find Us