Version: 0.7 (using KDE 3.3.2 Level "a" , SUSE 9.2 UNSUPPORTED) Compiler: gcc version 3.3.4 (pre 3.3.5 20040809) OS: Linux (i686) release 2.6.8-24.10-athlon-preempt When I export an album to HTML it does not transfer the AVI files or properly create thumbnails or HTML for them. In fact, the avi files are not transferred at all and Konqueror just shows a broken link.
CVS commit by pahlibar: enable uploading for movie (and other non-image files) to gallery BUG: 97298 M +10 -8 gallerytalker.cpp 1.6 M +9 -4 gallerywindow.cpp 1.10 --- kdeextragear-libs-1/kipi-plugins/galleryexport/gallerytalker.cpp #1.5:1.6 @@ -194,7 +194,8 @@ bool GalleryTalker::addPhoto( const QStr QImage image(photoPath); - if (image.isNull()) - return false; + if (!image.isNull()) + { + // image file - see if we need to rescale it if (rescale && (image.width() > maxDim || image.height() > maxDim)) { @@ -205,4 +206,5 @@ bool GalleryTalker::addPhoto( const QStr << path << endl; } + } if (!form.addFile(path)) --- kdeextragear-libs-1/kipi-plugins/galleryexport/gallerywindow.cpp #1.9:1.10 @@ -569,8 +569,13 @@ void GalleryWindow::slotAddPhotoNext() m_uploadQueue.pop_front(); - m_talker->addPhoto( m_lastSelectedAlbum, pathComments.first, + bool res = m_talker->addPhoto( m_lastSelectedAlbum, pathComments.first, pathComments.second, m_resizeCheckBox->isChecked(), m_dimensionSpinBox->value() ); + if (!res) + { + slotAddPhotoFailed( "" ); + return; + } m_progressDlg->setLabelText( i18n("Uploading file %1 ")
the thumbnails are generated on the gallery itself. gallery1, i believe, cannot generate thumbnails for movie files. gallery2, with ffmpeg, does; but we don't support gallery2 yet.
Hi Frédéric, Do you know what's the goal to upload video in a remote Piwigo Gallerie ? I tried with MP4 (listed as supported file in Piwigo doc), but the plugin return an error as not recognized mime type. Best regard Gilles Caulier
*** Bug 257187 has been marked as a duplicate of this bug. ***