public static String getLogImageTitle(final Image image, final int imagePos, final int imageCount) {
        if (StringUtils.isNotBlank(image.getTitle())) {
            return image.getTitle();
        }
        final String imageTitlePrafix = Settings.getLogImageCaptionDefaultPraefix();
        if (imageCount <= 1) {
            return imageTitlePrafix; // number is unnecessary if only one image is posted
        }
        return imageTitlePrafix + " " + (imagePos + 1);
    }
get title for a log image in the list
main/src/main/java/cgeo/geocaching/log/LogUtils.java