画像ライブラリーはクラス化、TGA対応の追加
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
{@ if (isset($meta) && isset($meta->thumbnail) && !empty($meta->thumbnail)) @}
|
||||
<meta property="og:image" content="https://{{ $_SERVER['HTTP_HOST'] }}/static/article/{{ $meta->thumbnail }}" />
|
||||
<meta property="og:image:secure_url" content="https://{{ $_SERVER['HTTP_HOST'] }}/static/article/{{ $meta->thumbnail }}" />
|
||||
{$ $imgspec = getImageInfo('/public/static/article/'.$meta->thumbnail); $}
|
||||
{$ $imgspec = getImageInfo('/public/static/article/'.$meta->thumbnail)->fullInfo; $}
|
||||
<meta property="og:image:type" content="{{ $imgspec->type }}" />
|
||||
<meta property="og:image:width" content="{{ $imgspec->width }}" />
|
||||
<meta property="og:image:height" content="{{ $imgspec->height }}" />
|
||||
|
||||
Reference in New Issue
Block a user