Have done this, and the site does not show, below where the image would go.
Looking at the page using FireBug and the text from the HTML of the page is shown in the textaera, but excape codes are shown for the various elements.
<textarea> </div> <div id="editable"> <h1>About Us</h1> <p>Kernow Credit Union Ltd is open to anyone living and/or working in Cornwall.</p>
<p> </p>
<p>Credit Unions probably aren't the first place you think of when you're looking for a new savings account or personal loan. But perhaps it's time to think again. Credit unions offer their members cheap, flexible loans.</p>
<p> </p>
<p>If you borrowed £1,000 over one year, you'd be better off with a credit union than if you were with one of the most expensive banks or building societies.</p>
<!-- Insert default "contactdetails" markup here -->
Image from XSLT
I have just tried adding the following XSLT, and no image or anything is shown.
What have I missed?
The two value-of's show the node ID, but nothing is shown as soon as the GetMedia is done.
Have just upgraded a site from 4.0.3 to 4.5.2.
Many thanks
TT
Taoist try using the img attibute
Hi Taoist
Maybe you could try something like this.
I hope it helps you
/Dennis
Hi Fuji and Dennis
Tried both of these without any luck.
I know the media exists, and in-line XSLT was working before upgrade, but nothing now.
This does not make any difference as to whether new or old schema is used.
Thanks
TT
Hi TT
When you tried Dennis' solution, you did remember to rename the alias in his code from imageAlias to sideImage, right?
If you did, could you try printing out the sideImage-property like this:
Or even print out the durrent page to make sure that the property has a value. Like this:
/Kim A
Hi Kim
I did change the alias in Dennis' example.
Tried the above and got the following output
but running the $currentPage version seems to have output the whole site, and not just the one page.
TT
Hmm...okay could you then try printing out this:
Just to check if there's actually an image with that ID.
/Kim A
Thanks for this.
Have done this, and the site does not show, below where the image would go.
Looking at the page using FireBug and the text from the HTML of the page is shown in the textaera, but excape codes are shown for the various elements.
The node ID being shown when just using value-of is 1059, and this is an image (see screen shot below).
The pages ID is 1055 (see image below).
Thanks
TT
Changing the image uploaded does not change this, but creating a new media items and then uploading the image does.
Anybody know of a reason for this?
Regards
TT
is working on a reply...