tif generate_representation function that would make the pwg_representation * There would be some default generate_representation functions for. * Update the "// this photo is new" section of the script so that it called a function called "generate_representation" Modify the add_uploaded_file function in admin/include/functions_ : After that thought, it seemed like a more general upload mechanism could improve the ability to add new file types. My thought was to automate step 2 above so that it would happen automatically on upload. jpg in the pwg_representation For file sizes, it seems similar to videos, and there are several methods for including videos in I've updated the config to allow for raw files to be uploaded. My understanding is that the following would allow for display of the raw file:Ģ. I'm happy to help with this development if it would be of interest. And, the last plugin in the list is a default "Unsupported file type" error.Īnother advantage of this plugin-type of file upload architecture is that it could also be included in plugins like menalto2piwigo for conversion from other types of galleries or optionally in the synchronization code. I wonder if it may be a longer-term solution to make a file type plugin interface where upon load a plugin would register the extensions that it supports, and the plugins would be checked in order for support of an extension- the first one supporting an extension does the conversion. I'm happy to create that patch if it would be accepted. Canon CR2 and piwigo).Īs I've looked through the source to see what may be available to plug in support for raw files, I found the upload code has support for some specific file types (tiff, movies, and pdf files) where it would be simple to add support for raw files by adding some code to use dcraw to create a. One feature that I've been looking for is support for raw file formats, and I've searched and seen that it doesn't appear to be supported (e.g. I recently started using Piwigo having migrated from Menalto Gallery2.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |