답변 고맙습니다.
관련 이미지가 따로따로 스크랩 되도록 별도 파일로 만들어서 헤더에 인크루드 하는 방식으로 해결 하였습니다.
잘 동작됩니다.
참고)YoungCart5 에 적용한 예제
// Open Graph protocol에 따른 공유 스크랩이미지 아이템별 개별 처리
// 쿼리 없이 약간의 트릭으로 처리
if($it_id) {
$og_img_path = G5_DATA_URL."/item/".$it[it_id];
$og_img_file = $it[it_img1];
list($og_img_dir,$og_img_name) = explode("/",$og_img_file);
$og_img = preg_replace("/\.[^\.]+$/i", "", $og_img_name);
$og_img = $og_img_path.'/thumb-'.$og_img.'_245x245.jpg';
}