Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Bob Flynn

Guest
Jul 28, 2008 Jul 28, 2008

Copy link to clipboard

Copied

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
TOPICS
Server side applications

Views

250
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 29, 2008 Jul 29, 2008

Copy link to clipboard

Copied

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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 06, 2008 Aug 06, 2008

Copy link to clipboard

Copied

LATEST
@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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines