Member
Member
jeanbenoit   2008-12-10, 18:20
#1

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

Administrator
Administrator
acrylian   2008-12-10, 18:41
#2

What is dotclear?

Member
Member
jeanbenoit   2008-12-10, 18:49
#3

a blog package http://dotclear.org/

Administrator
Administrator
acrylian   2008-12-10, 19:08
#4

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.

Member
Member
jeanbenoit   2008-12-10, 19:22
#5

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.
I try to restricted access with .htaccess file before hacking core.
Thank for Your help

Member
Member
Beej126   2012-11-26, 05:29
#6

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.