As is being discussed in the forum at http://piwigo.org/forum/viewtopic.php?pid=156306, I'm working on updates to allow raw file support and generalize the support for file upload. This feature request is to enable the discussion of code in a bit more detail (and allow upload of diffs for testing).
Additional information: The first diff uploaded is relative to the current trunk.
Currently, the parts that work are:
Upload of normal images (e.g. jpg, png, gif) works as expected
The pwg_representative file is created
The representative_ext is added to the database
The parts that don't yet work are:
The pwg_representative file doesn't show in the album view (just a gray exclamation point of an unsupported file)
After uploading the file, the upload image preview doesn't show up (shows as a broken image and when looking at the image in a different tab, it gets the ImageMagick error of "[Image] unsupported file extension")
Synchronization hooks supporting ftp upload are not yet built.
**Reported by wsloand on 22 Nov 2014 13:25**
As is being discussed in the forum at http://piwigo.org/forum/viewtopic.php?pid=156306, I'm working on updates to allow raw file support and generalize the support for file upload. This feature request is to enable the discussion of code in a bit more detail (and allow upload of diffs for testing).
**Additional information:** The first diff uploaded is relative to the current trunk.
Currently, the parts that work are:
- Upload of normal images (e.g. jpg, png, gif) works as expected
- The pwg_representative file is created
- The representative_ext is added to the database
The parts that don't yet work are:
- The pwg_representative file doesn't show in the album view (just a gray exclamation point of an unsupported file)
- After uploading the file, the upload image preview doesn't show up (shows as a broken image and when looking at the image in a different tab, it gets the ImageMagick error of "[Image] unsupported file extension")
- Synchronization hooks supporting ftp upload are not yet built.
[Piwigo Bugtracker #3182](http://piwigo.org/bugs/view.php?id=3182)
<!-- github-sync-id:97226998 -->
Please review the upload_plugin_support.diff as a change relative to the current svn trunk for addition of raw support. It currently has only been integrated into the web form upload, but it should be relatively straight forward to integrate into synchronization and app uploads.
**Comment posted by wsloand on 6 Dec 2014 23:52**
Please review the upload_plugin_support.diff as a change relative to the current svn trunk for addition of raw support. It currently has only been integrated into the web form upload, but it should be relatively straight forward to integrate into synchronization and app uploads.
<!-- github-comment-id:124899109 -->
The new file is upload_plugin_support-20150510.diff
**Comment posted by wsloand on 11 May 2015 03:19**
I uploaded a new diff matching the suggestion from mistic100 in http://piwigo.org/forum/viewtopic.php?id=24845&p=3
The new file is upload_plugin_support-20150510.diff
<!-- github-comment-id:124899121 -->
I forgot to add the representative_gen.php file to the last diff. Here it is now.
**Comment posted by wsloand on 28 May 2015 12:02**
I forgot to add the representative_gen.php file to the last diff. Here it is now.
<!-- github-comment-id:124899130 -->
Hi wsloand, I have changed the request to be more the "ability to let plugins process any kind of file on upload". In Piwigo 2.8 you will easily add a plugin to handle RAW files.
Hi wsloand, I have changed the request to be more the "ability to let plugins process any kind of file on upload". In Piwigo 2.8 you will easily add a plugin to handle RAW files.
<!-- github-comment-id:171598206 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Reported by wsloand on 22 Nov 2014 13:25
As is being discussed in the forum at http://piwigo.org/forum/viewtopic.php?pid=156306, I'm working on updates to allow raw file support and generalize the support for file upload. This feature request is to enable the discussion of code in a bit more detail (and allow upload of diffs for testing).
Additional information: The first diff uploaded is relative to the current trunk.
Currently, the parts that work are:
The parts that don't yet work are:
Piwigo Bugtracker #3182
Comment posted by wsloand on 6 Dec 2014 23:52
Please review the upload_plugin_support.diff as a change relative to the current svn trunk for addition of raw support. It currently has only been integrated into the web form upload, but it should be relatively straight forward to integrate into synchronization and app uploads.
Comment posted by wsloand on 11 May 2015 03:19
I uploaded a new diff matching the suggestion from mistic100 in http://piwigo.org/forum/viewtopic.php?id=24845&p=3
The new file is upload_plugin_support-20150510.diff
Comment posted by wsloand on 28 May 2015 12:02
I forgot to add the representative_gen.php file to the last diff. Here it is now.
Hi wsloand, I have changed the request to be more the "ability to let plugins process any kind of file on upload". In Piwigo 2.8 you will easily add a plugin to handle RAW files.