void CPicture::CreateFolderThumb(const CStdString *thumbs, const CStdString &folderThumb) { // we want to mold the thumbs together into one single one const char *szThumbs[4]; for (int i=0; i < 4; i++) szThumbs[i] = thumbs[i].c_str(); DllImageLib dll; if (!dll.Load()) return; if (!dll.CreateFolderThumbnail(szThumbs, folderThumb.c_str(), g_advancedSettings.m_thumbSize, g_advancedSettings.m_thumbSize)) { CLog::Log(LOGERROR, "%s failed for folder thumb %s", __FUNCTION__, folderThumb.c_str()); } }