diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleImagesPagerActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleImagesPagerActivity.java index 0f7059ad..15d712cb 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleImagesPagerActivity.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleImagesPagerActivity.java @@ -287,13 +287,14 @@ public class ArticleImagesPagerActivity extends CommonActivity implements Gestur for (Element img : imgs) { String imgSrc = img.attr("src"); + if (imgSrc.startsWith("//")) { + imgSrc = "https:" + imgSrc; + } + if (imgSrcFirst.equals(imgSrc)) firstFound = true; if (firstFound) { - if (imgSrc.indexOf("//") == 0) - imgSrc = "http:" + imgSrc; - m_urls.add(imgSrc); } }