diff --git a/src/main/java/zipdabang/server/converter/RecipeConverter.java b/src/main/java/zipdabang/server/converter/RecipeConverter.java index 573d65d..1ddca3b 100644 --- a/src/main/java/zipdabang/server/converter/RecipeConverter.java +++ b/src/main/java/zipdabang/server/converter/RecipeConverter.java @@ -848,7 +848,7 @@ public static RecipeResponseDto.RecipeDto toResponseTestRecipeDto(TestRecipe rec .recipeName(recipe.getName()) .ownerImage("") .nickname("test") - .thumbnailUrl(recipe.getThumbnailUrl()) + .thumbnailUrl(recipe.getThumbnailUrl()+"?size=thumbnail") .time(recipe.getTime()) .intro(recipe.getIntro()) .recipeTip(recipe.getRecipeTip()) @@ -874,7 +874,7 @@ public static List toResponseTestStepDto(TestRecipe r .map(step-> RecipeResponseDto.StepDto.builder() .stepNum(step.getStepNum()) .description(step.getDescription()) - .image(step.getImageUrl()) + .image(step.getImageUrl()+"?size=step") .build()) .collect(Collectors.toList()); } @@ -907,7 +907,7 @@ private static RecipeResponseDto.RecipeSimpleDto toResponseTestRecipeSimpleDto(T .categoryId(getTestCategoryIds(recipe)) .recipeName(recipe.getName()) .nickname("test") - .thumbnailUrl(recipe.getThumbnailUrl()) + .thumbnailUrl(recipe.getThumbnailUrl()+"?size=preview") .createdAt(staticTimeConverter.ConvertTime(recipe.getCreatedAt())) .updatedAt(staticTimeConverter.ConvertTime(recipe.getUpdatedAt())) .comments(0L)