ZenphotoCMS 1.6.5

i.php

i.php: Zenphoto image processor All *uncached* image requests go through this file (As of 1.0.8 images are requested directly from the cache if they exist) ****************************************************************************** URI Parameters: s - size (logical): Based on config, makes an image of "size s." h - height (explicit): Image will be resized to h pixels high, w is calculated.

w - width (explicit): Image will resized to w pixels wide, h is calculated. cw - crop width: crops the image to cw pixels wide. ch - crop height: crops the image to ch pixels high. cx - crop x position: the x (horizontal) position of the crop area. cy - crop y position: the y (vertical) position of the crop area. q - JPEG quality (1-100): sets the quality of the resulting image. t - Set for custom images if used as thumbs. wmk - the watermark image to overlay gray - grayscale the image admin - request is from the back-end

 Cropping is performed on the original image before resizing is done.
  • cx and cy are measured from the top-left corner of the image.
  • One of s, h, or w must be specified; the others are optional.
  • If more than one of s, h, or w are specified, s takes priority, then w+h:
  • If none of s, h, or w are specified, the original image is returned.

Table of Contents

Constants

OFFSET_PATH  = 2

Constants

OFFSET_PATH

public mixed OFFSET_PATH = 2

        
On this page

Search results