mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
#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:
parent
a8c184cfe8
commit
72dedb6caf
@ -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>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user