1
0

Use jQuery to preload images. Added thumbnail into comments page.

This commit is contained in:
3nids 2009-09-25 09:55:12 +02:00
parent a40b87dbe0
commit 072ced072a
2 changed files with 11 additions and 1 deletions

View File

@ -20,5 +20,14 @@ Installation:
*********
Use:
This theme displays full size images. So be carefull to upload not too large images!
The theme uses the tagsmap module which has been enhanced. If you want to separate geotag from others, name those with the "map." prefix. Hence, they will not be shown in the tag cloud sidebare (the "map." prefix will not be displayed on the map).
The theme uses the tagsmap module which has been enhanced.
If you want to separate geotag from others, name those with the "map." prefix., the "map." prefix will not be displayed on the map.
If you want to remove the prefix in the tag cloud sidebar, wou will have to update in gallery3/modules/tag/helpers/tag.php the popular_tags function:
static function popular_tags($count) {
return ORM::factory("tag")
->orderby("count", "DESC")
->notregex("name","map\.")
->limit($count)
->find_all();
}

View File

@ -52,6 +52,7 @@ class Comments_3nids_Controller extends REST_Controller {
$view = new Theme_View("comments.html", "page");
$view->comments = $comments;
$view->item_id = $item_id;
$view->thumb = $item->thumb_url();
print $view;
break;
}