我正在使用高级自定义字段,并添加了一个返回值为图像对象的图像。在我的主题中,如果我转储对象的值,那么所有大小的URL都是相同的,无论它是否是thumbnail
, medium
, 或large
. 我正在多站点上执行此操作。
以下是图像对象的外观:
(
[id] => 123
[alt] =>
[title] => My image
[caption] =>
[description] =>
[mime_type] => image/jpeg
[url] => http://example.com/files/2013/12/my_image.jpg
[width] => 5400
[height] => 3600
[sizes] => Array
(
[thumbnail] => http://example.com/files/2013/12/my_image.jpg
[thumbnail-width] => 150
[thumbnail-height] => 100
[medium] => http://example.com/files/2013/12/my_image.jpg
[medium-width] => 300
[medium-height] => 200
[large] => http://example.com/files/2013/12/my_image.jpg
[large-width] => 1024
[large-height] => 682
)
)