Permalink
Browse files

Added rating image dimensions, for page speed

  • Loading branch information...
1 parent 61ea0d6 commit 2f03aa441106f40aadc487ff1d0a5f15c8609dbd @magicmonkey committed Dec 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/system/application/helpers/rating_helper.php
@@ -23,7 +23,7 @@ function rating_image($rating)
{
$rating = min(5, ceil((float)$rating));
return '<img class="rating rating-' . $rating . '" src="/inc/img/rating-' .
- $rating . '.gif" alt="Rating: ' . $rating . ' of 5"/>';
+ $rating . '.gif" alt="Rating: ' . $rating . ' of 5" height="21" width="117" />';
}
/**

0 comments on commit 2f03aa4

Please sign in to comment.