Elfinder Thumbnails - How To Auto-Generate Image Thumbnails?

Looking at the elfinder github demo , elfinder is able to auto-generate thumbnails for image files (and others). However elfinder embedded in CSC does not generate thumbnails.

ref: https://studio-42.github.io/elFinder/#elf_l1_SW1hZ2Vz

Ive expressed my displeasure with this in another thread but thought it more appropriate to start a topic specific thread. This is a productivity issue.

Has anyone implemented elfinder thumbnail generation in CSC?

Care to share the code changes needed?

Actually, from research, it seems that elfinder should generate thumbnails by default... so is this actually a bug with the csc integration of elfinder?

In elf_connector.php I see

'tmbPath' => '',

Should this be set to something?

Maybe I am misunderstanding but CSC does generate thumbnails from the detailed image.

You misunderstand.

You may want to elaborate then.

Are you confusing ELfinder thumbnails with Product image thumbnails?

Or are you saying that CSC's ELfinder should show thumbnails by default?

If your CSC installation shows thumbs for image files in ELfinder then I must have a problem with my install.

Note that in CS-Cart 2.0 rc1 version is used and you check 2.1 version. May be this feature was added later?

Thanks for your suggestion eComLabs,

According to https://github.com/Studio-42/elFinder/blob/master/Changelogthumbnails have been a feature since v1.x but there is mention of various fixes in V2.1, so maybe you're onto something.

Question is, can CSC's EL finder be updated to v2.1 easily... and does it fix this issue?

Maybe the CSC mods should look into this problem and test ELF v2.1.
This is a productivity issue., having to click through a folder full of images to find likely candidates is painfully time consuming.

Thanks for your suggestion eComLabs,

According to https://github.com/Studio-42/elFinder/blob/master/Changelogthumbnails have been a feature since v1.x but there is mention of various fixes in V2.1, so maybe you're onto something.

Question is, can CSC's EL finder be updated to v2.1 easily... and does it fix this issue?

Maybe the CSC mods should look into this problem and test ELF v2.1.
This is a productivity issue., having to click through a folder full of images to find likely candidates is painfully time consuming.

It is required to examine it thoroughly. I am not ready to answer on your question

find a solution in
app/controllers/common/elf_connector.php
change in line 88 and 113
‘tmbPath’ => ‘’,
to
‘tmbPath’ => $public_files_path . ‘.tmp/’, where .tmp custom folder
it will be generate thumbs in this category for visualization

1 Like