Jump to content

Any way to assign folder cover images in bulk?


Go to solution Solved by Luke,

Recommended Posts

Tristan98
Posted

I have thousands of folders with photos and videos in a home videos & photos library. Currently I put the folder cover image in each folder, but they all appear in the photo section. I only wanna show the photos not the covers.

How do I solve this? Any way to assign folder cover images in bulk so I don't need to keep them in each folder?

Posted
Quote

Currently I put the folder cover image in each folder, but they all appear in the photo section. I only wanna show the photos not the covers.

Hi, how are you naming it?

Tristan98
Posted
On 6/13/2025 at 1:36 PM, Luke said:

Hi, how are you naming it?

Using the same name as their folders.

Posted
10 hours ago, Tristan98 said:

Using the same name as their folders.

That's not a supported naming convention. Try folder.ext, so for example, folder.jpg.

Tristan98
Posted
On 6/15/2025 at 2:41 AM, Luke said:

That's not a supported naming convention. Try folder.ext, so for example, folder.jpg.

I left out the extensions in my description. They do have extensions, and they work fine. The problem is they are all seen as normal photos so they are mixed with other photos. I don't wanna see some 500x500 covers in my photo stream, but I also try to avoid adding covers to thousands of folders manually.

Posted
15 hours ago, Tristan98 said:

I left out the extensions in my description. They do have extensions, and they work fine. The problem is they are all seen as normal photos so they are mixed with other photos. I don't wanna see some 500x500 covers in my photo stream, but I also try to avoid adding covers to thousands of folders manually.

Hi, did you see my suggestion?

Happy2Play
Posted
On 6/9/2025 at 10:56 PM, Tristan98 said:

I have thousands of folders with photos and videos in a home videos & photos library. Currently I put the folder cover image in each folder, but they all appear in the photo section. I only wanna show the photos not the covers.

How do I solve this? Any way to assign folder cover images in bulk so I don't need to keep them in each folder?

Sorry can you provide a specific example as I have never seen a proper named folder.jpg/png or poster.jpg/png show up in any library but will be presented as folder image.

ie folder images per folder

image.png.e10ccfef268622aed51b9421002d7df9.png

image.thumb.png.7f3bfe33129fd54663605fcdb8808f21.png

 

But there is really no bulk operations for what you have described.

 

  • Thanks 1
Tristan98
Posted
On 6/17/2025 at 9:04 AM, Happy2Play said:

Sorry can you provide a specific example as I have never seen a proper named folder.jpg/png or poster.jpg/png show up in any library but will be presented as folder image.

ie folder images per folder

image.png.e10ccfef268622aed51b9421002d7df9.png

image.thumb.png.7f3bfe33129fd54663605fcdb8808f21.png

 

But there is really no bulk operations for what you have described.

 

This is one of my libraries. I'm not sure if this is what you are asking for.
 

poster.png

Posted
On 6/16/2025 at 3:37 PM, Luke said:

Hi, did you see my suggestion?

@Tristan98?

Tristan98
Posted
On 6/28/2025 at 4:39 AM, Luke said:

What is your suggestion? Other than changing ext? My cover images come with ".png" or ".jpg" already.

  • Solution
Posted

It’s not changing extension but changing the name of the image file to either folder or cover. 
 

can you try that?

Tristan98
Posted
3 hours ago, Luke said:

It’s not changing extension but changing the name of the image file to either folder or cover. 
 

can you try that?

Thanks. Just tried it and it works.

What's the difference between naming it "folder" or "cover"? 

Happy2Play
Posted
28 minutes ago, Tristan98 said:

Thanks. Just tried it and it works.

What's the difference between naming it "folder" or "cover"? 

In the end just supported naming order of preference. 

image.png.f0639734a9c743b0d655ec0ad7018087.png

image.png.f004f4f57a0484def0a3158e2094b8a3.png

Might be a little different in reference to folders though but there is no documentation for just folders.

Posted
1 hour ago, Tristan98 said:

Thanks. Just tried it and it works.

What's the difference between naming it "folder" or "cover"? 

Those are specific names meant for that purpose so that they won't get shown as a photo in the library.

Tristan98
Posted
5 hours ago, Luke said:

Those are specific names meant for that purpose so that they won't get shown as a photo in the library.

Yeah. But between these two, "folder" and "cover", is "cover" a universal form of "folder"?  Or are they equivalent?

Posted
53 minutes ago, Tristan98 said:

Yeah. But between these two, "folder" and "cover", is "cover" a universal form of "folder"?  Or are they equivalent?

Emby treats them as the same thing.

  • 5 months later...
Posted

I found a lot of covers did not show when they were cover.jpg but i copied  all my cover.jpg with a batch cmd to folder.jpg and now 95% of the covers show.

  • Thanks 1
Posted
i ran this one liner batch in the root directory of library to create folder.jpg s from cover.jpg 
For Windows (using Command Prompt)
  1. Open Command Prompt and navigate to your Calibre library's root folder.
  2. Run the following command:
    batch
    FOR /R . %i IN (cover.jpg) DO COPY "%i" "%~dpi\folder.jpg"
    
    • FOR /R . %i IN (cover.jpg) iterates through all subdirectories (starting from the current directory .) and finds files named cover.jpg.
    • "%i" is the full path to the found cover.jpg.
    • "%~dpi\folder.jpg" constructs the destination path, keeping the drive and path (%~dpi) of the source file and adding the new filename folder.jpg. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...