-
Notifications
You must be signed in to change notification settings - Fork 0
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
商品画像がないとき、商品画像がないという画像をもらうようにする #11
Labels
Comments
画像がないことを確認するのをどうすればいいだろうか |
先にurlfetchしておいて、nキロバイト以下ならないと判断するとか |
APIで取れればいちばんよいのですが………; |
この案を採用しようとしたんだけど、毎回2回リクエストするのがなんか微妙 |
商品画像があるかをBookのカラムに入れておくとか |
画像自体をこちらで持つのはダメだろうか? |
各種サイズ、影の有無、クロップされた画像、などなどが必要になることを考えると、それはないんじゃないか、という気がします |
jsサイズを見てsrcを置換とか |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
画像をリンクにしているとき、画像がないと、困る
The text was updated successfully, but these errors were encountered: