Commit 71f98fb8 authored by Liang Ding's avatar Liang Ding

🎨 提升文章首图精度

parent f32ed28d
......@@ -186,12 +186,12 @@ public final class Article {
/**
* Width of article first image.
*/
public static final int ARTICLE_THUMB_IMG_WIDTH = 768;
public static final int ARTICLE_THUMB_IMG_WIDTH = 1280;
/**
* Height of article first image.
*/
public static final int ARTICLE_THUMB_IMG_HEIGHT = 432;
public static final int ARTICLE_THUMB_IMG_HEIGHT = 720;
/**
* Private constructor.
......
......@@ -61,7 +61,7 @@ public final class Images {
continue;
}
ret = StringUtils.replace(ret, imgSrc, imgSrc + "?imageView2/2/w/768/format/jpg/interlace/1/q/100");
ret = StringUtils.replace(ret, imgSrc, imgSrc + "?imageView2/2/w/1280/format/jpg/interlace/1/q/100");
}
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment