Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
311
Merge Requests
311
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
535c5909
Commit
535c5909
authored
Sep 11, 2014
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2123225
by Jelle_S, attiks, Risse, bradklaver | Wim Leers: Fixed Do not upscale by default.
parent
949cb631
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
core/modules/image/config/install/image.style.large.yml
core/modules/image/config/install/image.style.large.yml
+1
-1
core/modules/image/config/install/image.style.medium.yml
core/modules/image/config/install/image.style.medium.yml
+1
-1
core/modules/image/config/install/image.style.thumbnail.yml
core/modules/image/config/install/image.style.thumbnail.yml
+1
-1
core/modules/image/src/Tests/ImageFieldDisplayTest.php
core/modules/image/src/Tests/ImageFieldDisplayTest.php
+4
-4
core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php
...nsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php
+1
-1
No files found.
core/modules/image/config/install/image.style.large.yml
View file @
535c5909
...
...
@@ -6,7 +6,7 @@ effects:
data
:
width
:
480
height
:
480
upscale
:
tru
e
upscale
:
fals
e
weight
:
0
uuid
:
ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d
langcode
:
en
core/modules/image/config/install/image.style.medium.yml
View file @
535c5909
...
...
@@ -6,7 +6,7 @@ effects:
data
:
width
:
220
height
:
220
upscale
:
tru
e
upscale
:
fals
e
weight
:
0
uuid
:
bddf0d06-42f9-4c75-a700-a33cafa25ea0
langcode
:
en
core/modules/image/config/install/image.style.thumbnail.yml
View file @
535c5909
...
...
@@ -6,7 +6,7 @@ effects:
data
:
width
:
100
height
:
100
upscale
:
tru
e
upscale
:
fals
e
weight
:
0
uuid
:
1cfec298-8620-4749-b100-ccb6c4500779
langcode
:
en
core/modules/image/src/Tests/ImageFieldDisplayTest.php
View file @
535c5909
...
...
@@ -143,8 +143,8 @@ function _testImageFieldFormatters($scheme) {
$image_style
=
array
(
'#theme'
=>
'image_style'
,
'#uri'
=>
$image_uri
,
'#width'
=>
10
0
,
'#height'
=>
5
0
,
'#width'
=>
4
0
,
'#height'
=>
2
0
,
'#style_name'
=>
'thumbnail'
,
);
$default_output
=
drupal_render
(
$image_style
);
...
...
@@ -199,8 +199,8 @@ function testImageFieldSettings() {
$image_style
=
array
(
'#theme'
=>
'image_style'
,
'#uri'
=>
file_load
(
$node
->
{
$field_name
}
->
target_id
)
->
getFileUri
(),
'#width'
=>
22
0
,
'#height'
=>
11
0
,
'#width'
=>
4
0
,
'#height'
=>
2
0
,
'#style_name'
=>
'medium'
,
);
$default_output
=
drupal_render
(
$image_style
);
...
...
core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php
View file @
535c5909
...
...
@@ -165,7 +165,7 @@ public function _testResponsiveImageFieldFormatters($scheme) {
$fallback_image
=
array
(
'#theme'
=>
'responsive_image_source'
,
'#src'
=>
$large_style
->
buildUrl
(
$image_uri
),
'#dimensions'
=>
array
(
'width'
=>
4
80
,
'height'
=>
24
0
),
'#dimensions'
=>
array
(
'width'
=>
4
0
,
'height'
=>
2
0
),
);
$default_output
=
drupal_render
(
$fallback_image
);
$this
->
assertRaw
(
$default_output
,
'Image style thumbnail formatter displaying correctly on full node view.'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment