TinyWebGallery wrote:
good - after a little bit thinking this should be the best way to do this because this file is automatically refreshed by AJAX too.
In image.php you have the variable $image which you can use to make it dynamic.
- Michael
YES
it goes perfect THAK YOU THANK YOU
IT CAN BE SAY DYNAMICALY MP3 CAPTION WITH MP3 PLAYER (if needed)
<?
defined( '_VALID_TWG' ) or die( 'Direct Access to this location is not allowed.' );
?>
<!--travel_01.jpg=-->
<?=$image . '.mp3' ?> =
<div align="center">
<OBJECT ID="MediaPlayer" WIDTH="400" HEIGHT="27"
CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="<?=$image . '.mp3' ?>" valuetype="ref">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<embed type="application/x-shockwave-flash"
src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=<?=$image . '.mp3' ?>"
width="400" height="27" allowscriptaccess="never" quality="best"
bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />
</OBJECT>
</div>