I am trying to customize the way image folders appear in Win7 explorer, but I can't seem to get it under control.

Is there a way to force it to always pick the first image in the folder as the preview image? Explorer has perfectly fine natural sort order. I don't understand why it messes it up by picking semi-random images.

Thanks!

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

windows will either pick a photo, or used the photo named folder.jpg.

If you want the first folder to be used, you'd have to copy the first photo to a file named folder.jpg.

I don't know if there is any program or extended feature where you can change this behavior. I'd be interested in knowing too

UPDATE:

I've had this old script for years now, which i use to search and replace strings in directories. You can prob easily modify it to find the first jpg and copy it to folder. There's probably a way better method of doing this, but hopefully this will jump start ya.

create_folderdotjpg.vbs

Dim MyFile
MyFiles = GetFileArray(".")

For Each MyFile In MyFiles
    ' psuedo logic here
    ' get a list of all files in sub folder
    ' find the first jpg, and copy the file to folder.jpg
Next

MsgBox "Done..."

function GetFileArray(ByVal vPath)
    'Get our objects...
    Set FSO = CreateObject("Scripting.FileSystemObject")
    Set Folder = FSO.Getfolder(vPath)
    Set Files = Folder.SubFolders

    'Resize the local array
    'Arrays are 0 based but Files collection is 1 based.
    if Files.count = 0 then
        GetFileArray = array()
        Exit Function
    Else
        Index = 0
        Redim FileList(Files.Count-1)
        For Each File In Files
            set FileList(Index) = File
            Index = Index + 1
        Next
        GetFileArray = FileList
    End If

    'Always good practice to explicitly release objects...
    Set FSO = Nothing
    Set Folder = Nothing
    Set Files = Nothing

End function
link|improve this answer
Hmmm... well that's something. I'm gonna wait a while in case a lazier solution gets posted, but failing that I'm gonna have to write a script to take the first image and copy it as folder.jpg/png/etc. Great info, thanks. – Alex K Mar 26 '10 at 23:18
@Ryo Rico: do you know by any chance why why the following behavioiur happens? If a folder has several subfolders and each subfolder has folder.jpg in it, the top most folder sometimes has a collage of folder.jpg it contains and sometimes it gets the folder-inside-folder icon (as if no folder.jpg was found). – Alex K Mar 28 '10 at 0:00
@alex k no, i don't know for sure why that would happen. – Roy Rico Mar 29 '10 at 16:06
feedback

You can manually change the preview picture here's how

Right Click > Properties > Customize

alt text

link|improve this answer
Thanks for the suggestion, but when you've got a bazillion images organized in a bajillion folders, manual way just doesn't cut it. :) – Alex K Mar 26 '10 at 23:12
yea i guess so i'll check out if there are any more options per se – rzlines Mar 26 '10 at 23:51
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.