Add Type B slide pipeline and recipe rendering updates
This commit is contained in:
@@ -59,6 +59,17 @@ def get_image_sizes(content: str, base_path: str) -> list[dict[str, Any]]:
|
||||
abs_path = found[0]
|
||||
logger.info(f"이미지 경로 재탐색 성공: {filename} → {abs_path}")
|
||||
|
||||
# samples/images/, samples/mdx_batch/ 에서도 탐색
|
||||
if not abs_path.exists():
|
||||
filename = Path(rel_path).name
|
||||
for search_dir in [Path("samples/images"), Path("samples/mdx_batch")]:
|
||||
if search_dir.exists():
|
||||
found = list(search_dir.rglob(filename))
|
||||
if found:
|
||||
abs_path = found[0]
|
||||
logger.info(f"이미지 경로 확장 탐색 성공: {filename} → {abs_path}")
|
||||
break
|
||||
|
||||
if not abs_path.exists():
|
||||
logger.warning(f"이미지 파일 미발견: {abs_path}")
|
||||
images.append({
|
||||
|
||||
Reference in New Issue
Block a user