adding image hooks for detail page