We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96a286 commit 2dfbe0cCopy full SHA for 2dfbe0c
Embed/Adapters/Adapter.php
@@ -283,6 +283,10 @@ public function getProviderUrl()
283
*/
284
public function getImageWidth()
285
{
286
+ if ($this->image && property_exists($this, 'imageWidth')) {
287
+ return $this->imageWidth;
288
+ }
289
+
290
return null;
291
}
292
@@ -292,6 +296,10 @@ public function getImageWidth()
296
293
297
public function getImageHeight()
294
298
299
+ if ($this->image && property_exists($this, 'imageHeight')) {
300
+ return $this->imageHeight;
301
302
295
303
304
305
0 commit comments