Archive for the ‘gallery’ Category

Gallery customization: Logging ZipCart downloads

Sunday, April 29th, 2007

This is a customization for a photographer with a more or less permanent relationship with his customer.

The users only have permission to view scaled versions of the image.
I introduced a new flag in the zipcart configuration that lets the ZipCart download module override permissions to access the fullsize version.

Each download gets logged to the database.

The admin (or any other user with proper permissions) can view the log.

It's a hierarchical view Year -> Month -> User -> Images (time, host)

Patch for gallery

Customizing Gallery

Saturday, April 21st, 2007

environment Customizing gallery


Edit config.php

@ini_set('display_errors', 1);


Smarty - Toolkit

Gallery template reference

Gallery and Login/Logout Problem – Caching in ISA Server 2005 R2

Saturday, April 21st, 2007

environment gallery, ISA Server 2005 R2, WebSite hosted on Apache using http, publish through ISA with https.

problem login/logout issue. User logs in. Clicks the gallery logo in the top left. Gets the guest front page. If the user visits a sub page it works again... and for some not...

solution Turn of reverse proxy caching in ISA. Configuration/Cache/Cache Rules. Create a new rule including the server that hosts the web site. Check "Never cache the response" and disable http caching.