the stopdesign doesn't work for 1.0beta!!
But you can do the following to make it work..
There are two files you'll need to edit. These files are located in the "zen" folder.
- i.php
- template-functions.php
[b]EDIT i.PHP[/b]
- Find - should be on line 24 to line 33
`
if(isset($_GET['s']) && $_GET['s'] < 3000) { // Disallow abusive size requests.
if ($_GET['s'] == "thumb") {
$thumb = true;
} else {
$thumb = false;
}
$size = $_GET['s'];
} else {
return false;
}
`
- Replace with this
`
if(isset($_GET['s']) && $_GET['s'] < 3000) { // Disallow abusive size requests.
if ($_GET['s'] == "thumb") {
$thumb = true;
// STOP DESIGN
if ($_GET['f'] == "true") {
$thumb_crop = true;
$thumb_size = 230;
$thumb_crop_width = 210;
$thumb_crop_height = 60;};
} else {
$thumb = false;
}
$size = $_GET['s'];
if ($_GET['f'] == "true") { $size = $size."f";};
} else {
return false;
}
`
[b]EDIT template-functions.php[/b]
- Find - should be at line 529 to 533
`
function printAlbumThumbImage($alt, $class=NULL, $id=NULL) {
echo "<img src=\"" . getAlbumThumb() . "\" alt=\"$alt\"" .
(($class) ? " class=\"$class\"" : "") .
(($id) ? " id=\"$id\"" : "") . " />";
}
`
- Add Under
`
// STOP DESIGN FUNCTION
function printAlbumThumbImageStopdesign($alt, $class=NULL, $id=NULL) {
echo "<img src=\"" . getAlbumThumb() . "&f=true\" alt=\"$alt\" width=\"210\" height=\"60\"" .
(($class) ? " class=\"$class\"" : "") .
(($id) ? " id=\"$id\"" : "") . " />";
}
`