Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【ブログ】フロント表示時、ブログアイキャッチのサイズが指定できない #1049

Open
tnagatomi opened this issue Apr 29, 2019 · 3 comments
Labels
Review レビュー要 Ver4 バージョン4

Comments

@tnagatomi
Copy link
Contributor

(このIssueはRedmineのチケットから移行されています)

作成者: 安部 友啓
作成日: 2018/04/03 13:53

baserCMS: 4.0.7

$this->Blog->getEyeCatch(); のヘルパーにて、
$this->Blog->getEyeCatch($post, array('imgsize' => 'mobile_thumb'));
のように、サイズを指定しても
サムネサイズではなくデフォルトサイズのアイキャッチが表示される。

@tnagatomi
Copy link
Contributor Author

投稿者: 瀬戸 優一
投稿日: 2018/06/01 03:49:01

4.1.1での確認ですが、'mobile' => true で出来ました。BlogHelper内のコメントとズレがあるようです。

@ryuring
Copy link
Collaborator

ryuring commented May 16, 2019

@beychanNs 上記確認お願いします。

@ryuring ryuring added the Review レビュー要 label May 16, 2019
@ryuring ryuring changed the title フロント表示時、ブログアイキャッチのサイズが指定できない 【ブログ】フロント表示時、ブログアイキャッチのサイズが指定できない May 5, 2020
@kaburk
Copy link
Collaborator

kaburk commented Aug 11, 2021

baserCMS4.5.0にて確認したところ、指摘通り、'mobile' => true にしないと、'imgsize' => 'mobile_thumb' を指定しても反映されない仕様でした。
mobileのオプション自体が不要なオプションと思われます。

@ryuring ryuring added the Ver4 バージョン4 label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review レビュー要 Ver4 バージョン4
Projects
None yet
Development

No branches or pull requests

3 participants