Skip to main content
July 29, 2008
Question

Bob Flynn

  • July 29, 2008
  • 2 replies
  • 271 views
I am following the exact steps (instructions) on pages 280 and 289, the image does not display.
<div class="AccordionPanelContent"><img src="images/{ds1::imageURL}" alt="{altURL}" align="right" /></div>

Any hint, please
This topic has been closed for replies.

2 replies

Bob_Flynn__IN_Univ_
Participating Frequently
August 7, 2008
@malcster2 is correct. You must identify the detailregion so it knows what dataset to pull the value of your variables from. Please compare your file to the one in the completed folder.
Inspiring
July 29, 2008
are you selecting your pic from a data set?

your code should look like this:<div class="AccordionPanelContent" spry:detailregion="ds1"><img src={pic} /></div>

you've got to tell your panel it is a detailed region and the picture is coming from a data set. the dataset in the above example is ds1 and pic is the field holding the picutres path.