#1628 - Resizing images seems to break images, and doesn't display on front end

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44473 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-11-07 21:39:57 +00:00
parent a8c184cfe8
commit 72dedb6caf

View File

@ -71,7 +71,7 @@ class ThumbnailStripField extends FormField {
$result .=
'<li>' .
'<a href=" ' . $image->Filename . '?r=' . rand(1,100000) . '">' .
'<img class="destwidth=' . round($width) . ',destheight=' . round($height) . '" src="'. $thumbnail->URL . '" alt="' . $image->Title . '" title="' . $image->Title . '" />' .
'<img class="destwidth=' . round($width) . ',destheight=' . round($height) . '" src="'. $thumbnail->URL . '?r=' . rand(1,100000) . '" alt="' . $image->Title . '" title="' . $image->Title . '" />' .
'</a>' .
'</li>';
}