I'm tryng to embed an image block from my Gallery2 into a Liferay CMS page.
This code works in a stand-alone php page but doesn't on Liferay:
---
<?php
@readfile('http://mydomain.com/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title&g2_itemId=123639');
?>
---
I believe i have to convert in an "embed" code like this one that shows a Picasa Gallery on LifeRay portal.
---
<embed type="application/x-shockwave-flash" src="https://picasaweb.google.com/s/c/bin/slideshow.swf" width="230" height="153" flashvars="host=picasaweb.google.com&hl=it&feat=flashalbum&RGB=0x000000&feed=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fcomunicazioneprovinciaperugia%2Falbumid%2F5689291203024359617%3Falt%3Drss%26kind%3Dphoto%26hl%3Dit" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
---
Is it possible to convert?
Anyone could please help me ?
Thanks in advance,
Alex
Posts: 8339
If you can use embed tags, then you can use the flash based minislideshow
or if script tags are allowed, use the new jQuery plugin
-s
All New jQuery Minislideshow for G2/G3