[wp-trac] [WordPress Trac] #34998: Problem with responsive images
WordPress Trac
noreply at wordpress.org
Fri Dec 11 18:12:07 UTC 2015
#34998: Problem with responsive images
-------------------------------+------------------------------
Reporter: thisisbbc | Owner: joemcgill
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.4
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by thisisbbc):
Hello Joe,
I added a small function to output the array below the "Configure" block
on variable products.
Here's the result for this product :
http://nationhats.staging.wpengine.com/shop/hats/6-panel/classic-snapback-
cap-custom-text/
{{{
Array
(
[width] => 899
[height] => 899
[file] => 2015/10/Classic-Snapback-Cap-Black-Blank.jpg
[sizes] => Array
(
[thumbnail] => Array
(
[file] => Classic-Snapback-Cap-Black-Blank-150x150.jpg
[width] => 150
[height] => 150
[mime-type] => image/jpeg
)
[medium] => Array
(
[file] => Classic-Snapback-Cap-Black-Blank-300x300.jpg
[width] => 300
[height] => 300
[mime-type] => image/jpeg
)
[shop_thumbnail] => Array
(
[file] => Classic-Snapback-Cap-Black-Blank-100x100.jpg
[width] => 100
[height] => 100
[mime-type] => image/jpeg
)
[shop_catalog] => Array
(
[file] => Classic-Snapback-Cap-Black-Blank-300x300.jpg
[width] => 300
[height] => 300
[mime-type] => image/jpeg
)
[shop_single] => Array
(
[file] => Classic-Snapback-Cap-Black-Blank-710x710.jpg
[width] => 710
[height] => 710
[mime-type] => image/jpeg
)
[post-thumbnail] => Array
(
[file] => Classic-Snapback-Cap-Black-Blank-100x100.jpg
[width] => 100
[height] => 100
[mime-type] => image/jpeg
)
[entry-cropped] => Array
(
[file] => Classic-Snapback-Cap-Black-Blank-899x662.jpg
[width] => 899
[height] => 662
[mime-type] => image/jpeg
)
[entry-cropped-fullwidth] => Array
(
[file] => Classic-Snapback-Cap-Black-Blank-899x662.jpg
[width] => 899
[height] => 662
[mime-type] => image/jpeg
)
)
[image_meta] => Array
(
[aperture] => 0
[credit] =>
[camera] =>
[caption] =>
[created_timestamp] => 0
[copyright] =>
[focal_length] => 0
[iso] => 0
[shutter_speed] => 0
[title] =>
[orientation] => 1
)
[filesize] => 94264
)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34998#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list