Ignore:
Timestamp:
Dec 21, 2011, 10:01:26 PM (12 years ago)
Author:
rvelices
Message:

derivatives

  • better status codes + http headers on i.php
  • automatically switch to script mode, regenerate and reload derivatives on demand if their parameters change (without the need to clear the cache)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/derivatives/include/derivative_params.inc.php

    r12775 r12778  
    11<?php
     2// +-----------------------------------------------------------------------+
     3// | Piwigo - a PHP based photo gallery                                    |
     4// +-----------------------------------------------------------------------+
     5// | Copyright(C) 2008-2012 Piwigo Team                  http://piwigo.org |
     6// +-----------------------------------------------------------------------+
     7// | This program is free software; you can redistribute it and/or modify  |
     8// | it under the terms of the GNU General Public License as published by  |
     9// | the Free Software Foundation                                          |
     10// |                                                                       |
     11// | This program is distributed in the hope that it will be useful, but   |
     12// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
     13// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
     14// | General Public License for more details.                              |
     15// |                                                                       |
     16// | You should have received a copy of the GNU General Public License     |
     17// | along with this program; if not, write to the Free Software           |
     18// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
     19// | USA.                                                                  |
     20// +-----------------------------------------------------------------------+
    221
    322function size_to_url($s)
     
    258277{
    259278  public $type = IMG_CUSTOM;
     279  public $last_mod_time = 0; // used for non-custom images to regenerate the cached files
    260280  public $sizing;
    261281
Note: See TracChangeset for help on using the changeset viewer.