![]() |
|
Adding Support for Custom File Formats - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Adding Support for Custom File Formats (/thread-3904.html) |
Adding Support for Custom File Formats - swidnikk - 2008-10-19 Hi, I've started to poke around in the code but any pointers to relevant files and classes would be helpful. I will use ImageMagik to either cache the files as accessed or serve them on the fly Thanks in advance for any help Adding Support for Custom File Formats - sbillard - 2008-10-19 Custom file formats are possible with the nightly build. Look at the plugin Adding Support for Custom File Formats - swidnikk - 2008-10-22 Thanks for the pointer. I'll post back here with any questions. Adding Support for Custom File Formats - swidnikk - 2008-10-27 I want to add support for on-the-fly thumbnails as well (with the same naming conventions and cache location used by zpcore). While stepping through executing code, I don't see a specific line of code where the thumbnails are actually created. I followed printImageThumb through the return of getThumb, The line zp-core/template-functions.php.printImageThumb : lineno 2371 seems to genenerate the file, but stepping into the function calls there, I don't see where. Any pointers? Adding Support for Custom File Formats - acrylian - 2008-10-27 The actual thumb generation is in line 2336 to 2360. You can access the image processor also directly with this: Adding Support for Custom File Formats - swidnikk - 2008-10-27 Thanks acrylian. I'm trying to get MagickWand installed and its not easy (CentOS or Windows). I can see why this hasn't been done already ^_^ I might just end up hacking together a system command... for the mean time. |