logo

Functions

img(string source, string alt, string css_class, bool cache_this, bool click_big, int width)

function img will generate html tag for each image according to parameters; This allows to easily use caching and click-enlarging of images.

... To be filled out ..


This function uses (2x) caching! Every change needs the cache to be cleared.


Usage example

	
	<?php 
	echo "<div style='display:block;'>";
		$chk = img("./img/gallery/IMG_9187.jpg", "", "", true, true, 320);
		$chk .= img("./img/gallery/IMG_8419.jpg", "", "", true, true, 240);
		echo $chk;
	echo "</div>";
	?> 

Showtime!

image_id1 image_id211