rphMedia.
This is an absolutely wonderful mod. I am using the no-scale with description version and can be seen at:
http://www.bwscrapbooking.com.I am having one problem. When I run the swf it only pulls back 5 images. Currently I have 6 items in my gallery. I saw KB post something like this back an march but not see any further discussion. I did make one mod to your php where I changed it to be:
<?php
define('IN_COPPERMINE', true);
require('include/init.inc.php');
$path=$CONFIG['site_url'];
$xml = '<?xml version="1.0" encoding="iso-8859-1"?><content>';
if ($FORBIDDEN_SET != "") $FORBIDDEN_SET = "AND $FORBIDDEN_SET";
$result = mysql_query("SELECT * FROM cpg14x_pictures ORDER BY RAND() LIMIT 25");
$row = mysql_fetch_array($result);
while ($row = mysql_fetch_array($result))
{
$type = max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width'] ? 'thumb' : 'thumb';
$xml .= "<image>\n<path><![CDATA[" . $path . get_pic_url($row, $type) . "]]></path>\n<description><![CDATA[" . $row['title'] . "]]></description>\n<data><![CDATA[" . $path . "displayimage.php?pos=-" . $row['pid'] . "]]></data>\n</image>";
}
$xml .= '</content>';
echo $xml;
?>
now I ran the query directly in MyPHPadmin and it pulls all 6 images. Any suggestion?
Also on a side note I do flex dev, so I us ethe flash debug player. When I run the swf I get the following error:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:
http://bwscrapbooking.com/gallery/flow_link.swf cannot load data from
http://muvipix.com/cpg/flow.php.
at com.afcomponents.flowlist::FlowList/set contentXML()
at flow_link_fla::MainTimeline/__setProp_myFlow_Scene1_Layer2_1()
at flow_link_fla::MainTimeline()
I just dismiss it and the swf runs
Thanks for your time
Jeff