# \[TIP\] Managing images in Radiant

**URL:** <https://www.ruby-forum.com/t/tip-managing-images-in-radiant/104311>\
**Category:** Radiant CMS\
**Created:** [May 16, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/tip-managing-images-in-radiant/104311 "2007-05-16T17:54:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruno](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c77e96/32.png) [@bruno](https://www.ruby-forum.com/u/bruno)\
**Post date:** [May 16, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/tip-managing-images-in-radiant/104311/1 "2007-05-16T17:54:49Z")

</div>

This may be an obvious suggestion to many of you, but I thought I’d  
share the image management system I’ve constructed for my first Radiant  
site.

I used Zenphoto, a PHP image gallery. Zenphoto automatically constructs  
galleries from images dropped in its ‘albums’ directory. I set up that  
directory as WebDav-enabled, so that my client could copy images  
directly into the images folder. The clever thing about Zenphoto is  
that by changing the image url you can request versions of that image  
at any size. It renders new versions dynamically, cacheing them for  
speed.

I adapted the Textile plugin to make a simple !news/thumb/photo.jpg!  
request into the right Zenphoto url.

The WebDav-enabling didn’t work initially, because it was messed up by  
mod\_rewrite, so I enabled a different directory on another subdomain,  
and used a cron job to rsync the images into the albums directory. It  
works very well. And as it has turned out, the client doesn’t bother  
with the gallery features – but the commenting and organising could be  
useful for some.

> **[ZenphotoCMS - The simpler media website CMS](https://www.zenphoto.org/)**
>
> ZenphotoCMS is a CMS for selfhosted, gallery focused websites. Our focus lies on being easy to use and having all the features there when you need them (but out

* * *

Bruno
