fix
This commit is contained in:
@@ -644,7 +644,7 @@ public class ImageService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Also get all collections to catch cover images
|
// Also get all collections to catch cover images
|
||||||
List<com.storycove.entity.Collection> allCollections = collectionService.findAll();
|
List<com.storycove.entity.Collection> allCollections = collectionService.findAllWithTags();
|
||||||
for (com.storycove.entity.Collection collection : allCollections) {
|
for (com.storycove.entity.Collection collection : allCollections) {
|
||||||
if (collection.getCoverImagePath() != null && !collection.getCoverImagePath().trim().isEmpty()) {
|
if (collection.getCoverImagePath() != null && !collection.getCoverImagePath().trim().isEmpty()) {
|
||||||
String relativePath = convertAbsolutePathToRelative(collection.getCoverImagePath());
|
String relativePath = convertAbsolutePathToRelative(collection.getCoverImagePath());
|
||||||
|
|||||||
Reference in New Issue
Block a user