size of the thumbnails in file manager

Permalink 1 user found helpful
Hello,
I am looking for the solution to change the thumbnail format in the file manager. I want to see them all in 60 pixels wide, and not cropped square 30 pixels, which is less convenient to identify them.

I changed the size of the thumbnails in the system setting and I chose "proportional" then I purged the cache to regenerate the thumbnails but nothing has changed.

Should we go into the code to change this option?

Thank you

2 Attachments

Elstud
View Replies:
mnakalay replied on at Permalink Reply
mnakalay
Hello, the thumbnails generated using thumbnail types are not in the cache so purging the cache will not change anything. You need to rescan your files to generate new thumbnails.

If you have lots of files it's a bit of a pain so I suggest you install this free add-on and run the job it will do it for you:http://www.concrete5.org/marketplace/addons/rescan-all-files...

Another thing to keep in mind is that the images are kept at a 30px x 30px size by CSS in the file manager so unless you override the CSS you're not going to actually see the difference
Elstud replied on at Permalink Reply
Elstud
Thank you.
I found a solution.

Just change this in filemanager.css

table.ccm-file-manager-list img.ccm-file-manager-list-thumbnail,table.ccm-file-manager-list img.ccm-generic-thumbnail{width:30px;height:30px}


with

table.ccm-file-manager-list img.ccm-file-manager-list-thumbnail,table.ccm-file-manager-list img.ccm-generic-thumbnail{width:auto;height:auto}


And I delete all thumbnails in the cache on the server and I give 80px & 60px for the size in systeme thumbnails.

Every thing is fine and thumbnails are regenerate like I want.
mnakalay replied on at Permalink Reply
mnakalay
If you modified directly a core concrete5 file you will lose all your modifications next time you update Concrete5.
okapi replied on at Permalink Reply
okapi
You don't need to hack the core, you can override

concrete/css/file-manager.css

with

application/css/file-manager.css

The folder application/css does not exist, you have to create it.
Elstud replied on at Permalink Reply
Elstud
Thank you, it's better !
Elstud replied on at Permalink Reply
Elstud
Yes that's true, but my previous experiences with upgrades have not been successful.
When the platform is stable, no more touching it before a new generation is needed.
It's sad but it's more cautious ..