Wordpress Slide show Problems

images php coding issues or problems here.

Moderators: macek, egami, gesf

moris
New php-forum User
New php-forum User
Posts: 1
Joined: Sun Mar 11, 2012 9:49 am

Wordpress Slide show Problems

Postby moris » Sun Mar 11, 2012 9:56 am

hi friends , i have a problem with wordpress slideshow, i have install a slideshow and its ok but i want that each image have url , i cant add url code in the PHP code,
the slideshow code show below:

<script type="text/javascript">

var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [630, 182], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [

["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/1.jpg", "", ""],

["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/2.jpg", "", ""],

["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/3.jpg", "", ""]

//<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:4000, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})



</script>


please help me!
Thanks

Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 1 guest