diff --git a/models/BookModel.go b/models/BookModel.go index 2d2ec14c..e6e3fc91 100644 --- a/models/BookModel.go +++ b/models/BookModel.go @@ -701,7 +701,7 @@ func (book *Book) ImportBook(zipPath string) error { } } - imageUrl = strings.Replace(strings.TrimSuffix(image, originalImageUrl+")")+imageUrl+")", "\\", "/", -1) + imageUrl = strings.Replace(strings.TrimSuffix(image, originalImageUrl+")")+ conf.URLForWithCdnImage(imageUrl) +")", "\\", "/", -1) return imageUrl })