![]() |
|
filter on the image filename - 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: filter on the image filename (/thread-4216.html) |
filter on the image filename - jeanbenoit - 2008-12-10 Hi, I have installed zenphoto with dotclear, I upload photos with dotclear, but dotclear creates "image.jpg", ".image_s.jpg", ".image_sq.jpg", ".image_m.jpg", ".image_t.jpg" and ".image_l.jpg" files. Is it possible to have filter to exlude .(dot)file ? Thank you in advance, jb filter on the image filename - acrylian - 2008-12-10 What is dotclear? filter on the image filename - jeanbenoit - 2008-12-10 a blog package http://dotclear.org/ filter on the image filename - acrylian - 2008-12-10 Ok, never heard of this one. So I assume with "upload with dotclear" you mean probably that you use its own media management function? Uploading via Zenphotos own backend or directly via ftp will solve that issue. Otherwise there is no way to exclude these file without hacking Zenphoto. Zenphoto just takes everything that is within the albums folder. filter on the image filename - jeanbenoit - 2008-12-10 Yes, I (and the others users) use the media management function of dotclear. Having two ways for posting (text and photos) is too complicated for the users. filter on the image filename - Beej126 - 2012-11-26 It's pretty straightforward to accomplish this via an image_filter plugin. Zenphoto team provides sample to start with here: http://www.zenphoto.org/news/filter-file_searches My dot file specific implementation: https://docs.google.com/open?id=0B5htuLP66oWlOFRnSElPVktlVTA Drop either in your zenphoto\plugins folder and enable via admin > plugins tab |