Image Scroller - based on iTunes - Page 11 Image Scroller - based on iTunes - Page 11
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Image Scroller - based on iTunes

Started by rphMedia, May 25, 2007, 03:28:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

webdirector

rphMedia

could I ask you a favour ?

attached I have added a Apple Itouch as a PSD file with several layers.

could you make a new Flash file and use the Itouch as a frame so the  itune sliding would be inside of the Itouch ?

This way it would look like the real thing

I made the backgrund transparent but if you need to give it a color could you make it #161410

I could not attache the rar file so I renamed the rar file to .zip please rebname to rar to unpack


Thanks

webdirector


could you make me a SWF for non square pictures
my Thumbs are 66X100 ?

have a look at my scroller :

http://www.itouchthemes.com/cpg/index.php

The spaces bewteen the pictures are big

I tried playing with with ( 550 only, can see here http://www.itouchthemes.com/cpg/flow.htm  )

But that does not do the trick

Thanks

dke

thanks for this wonderful mod rpmedia, however i have one question to ask.

is it possible to modify the query made in flow.php to filter out images that belongs to another user group?

lets say for instance i'm browsing a gallery as a anonymous user, i can still see images that are from "registered users only" albums within the flash scroller, is it possible to filter those out depending on the user browsing if so how?

thanks alot for the help!

rphMedia

Quote from: webdirectorThe spaces bewteen the pictures are big

Try the other mod here - http://forum.coppermine-gallery.net/index.php?topic=48822.msg238745#msg238745

webdirector

I am not sure if I should continue here or in the other post

have a look here ( Itries it with the 900X400 and the 600X300 ):

It looks allot better but now it distorts the pictures ( with ) see:


http://www.itouchthemes.com/cpg/flow_link_example.htm

original is here :

http://www.itouchthemes.com/cpg/flow.htm

The format of the pictures can be seen here :

http://www.itouchthemes.com/cpg/displayimage.php?pos=-19

Thanks


webdirector

rphmedia,

have a look here: http://www.itouchthemes.com/

The scroller really does not look good ( lokks like poor quality pictures because of strech )

Is there anything I can do ?

Thanks

iorkara

Hi everyone.
First off, fantastic mod!
My problem. I got the sample working over at: http://www.iorkara.com/2/flow.htm
But when i put the code into my template its not working at all. All i get is a Black Box.
However, i do have two domains that goto iorkara.com/2/
They are ps3walls.com and playstation3wallpapers.eu

I read something about the cross xml thing. i did make it and put it in root at iorkara.com/2/
but how do i 'point' the file to whatever i have to 'point' at

rphMedia

The crossdomain.xml policy file doesn't look for anything. Flash will look for the file upon a http call.

iorkara

Yea this is where im confused. Im not all that great at coding. I know the basics. I dont understand when you say 'Flash will look for the file upon a http call'.


rphMedia

Quote from: iorkara on January 17, 2008, 01:02:03 PMYea this is where im confused. Im not all that great at coding. I know the basics. I dont understand when you say 'Flash will look for the file upon a http call'.
In other words, it does it automatically, you don't need to code anything.

If you have a problem with the mod, provide links to the problem.

iorkara

ok, My domains are:
www.playstation3wallpapers.eu
and
www.ps3walls.com

Both domains goto iorkara.com/2

If you check the site, theres only a black box. However, over www.iorkara.com/2/flow.htm it works.

rphMedia


iorkara

Done, this is what it looks like just in-case i have done an error:

Quote<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="http://www.iorkara.com" />
<allow-access-from domain="http://www.playstation3wallpapers.eu" />
<allow-access-from domain="http://www.ps3walls.com" />
</cross-domain-policy>

rphMedia

Looks correct... now make sure that your host supports the file. Some do not.

iorkara

Yea. I uploaded the file to iorkara.com and at iorkara.com/2 which is the coppermine root

thats fine correct?

rphMedia

Root only. It's a server file. Not really part of the mod(s).

iorkara

Ok. I have removed the one at iorkara.com/2/

Could it be anything in the code?
flow.php
Quote<?php
define('IN_COPPERMINE', true);
require('include/init.inc.php');
$path=$CONFIG['http://www.iorkara.com/2'];
$xml = '<?xml version="1.0" encoding="UTF-8"?><content>';
if ($FORBIDDEN_SET != "") $FORBIDDEN_SET = "AND $FORBIDDEN_SET";
$result = mysql_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE aid='47' AND filename LIKE '%.jpg' $FORBIDDEN_SET ORDER BY RAND() LIMIT 20"); //You can change the '20'
if (!$result) {
die('<p>Error performing query: ' . mysql_error() . '</p>');
}
while ($row = mysql_fetch_array($result))
{
   $type = max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width'] ? 'thumb' : 'thumb';
   $xml .= "<image><path><![CDATA[" . $path . get_pic_url($row, $type) . "]]></path></image>";
}
$xml .= '</content>';
echo $xml;
?>

and this is my template file:
Quote<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
<link rel="stylesheet" type="text/css" href="themes/hardwired/style.css" />
<style type="text/css">
<!--
.style2 {color: #000000}
-->
</style>
{META}
<script type="text/javascript" src="scripts.js" ></script>
<!-- $Id: template.html 2808 2006-02-05 22:35:48Z gaugau $ -->
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="http://www.iorkara.com/2/AC_RunActiveContent.js" language="javascript"></script>
</head>
<body>
<p><BR>
  <center>
<img src="http://www.iorkara.com/2/banner.gif" width="793" height="220" /><br />
</p>
<table width="769" border="1" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#FFFFFF"><div align="center"><span class="style2">Just ignore the Black Box below, we are working on new updates.<br />
    The whole site is still functional</span></div></td>
  </tr>
</table>
<br />
<p align="center">
  <BODY bgcolor="#000000" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0" scroll="auto">
<div align="center">
<script language="javascript">
   if (AC_FL_RunContent == 0) {
      alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
   } else {
      AC_FL_RunContent(
         'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
         'width', '750',
         'height', '250',
         'src', 'flow',
         'FlashVars', 'xmlPath=http://www.iorkara.com/2/flow.php';, <!--Absolute path to 'flow.php'-->
         'quality', 'high',
         'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
         'align', 'middle',
         'play', 'true',
         'loop', 'true',
         'scale', 'showall',
         'wmode', 'window',
         'devicefont', 'false',
         'id', 'flow',
         'bgcolor', '#000000',
         'name', 'flow',
         'menu', 'true',
         'movie', 'flow',
         'salign', ''
         ); //end AC code
   }
</script>
</div>

<br />
  <br />
</p>
<center>
<textarea name="textfield" cols="94" rows="8" wrap="virtual">--------------------------------------- NEWS & UPDATES ---------------------------------------
-*** We have been working on our Custom Wallpapers (iorkara PS3 Wallpapers) and we have improved the XMB Layout Design! We have added Two Preview Wallpapers. One is our Personal Iorkara Wallpaper Version 2 and the other is a Plain Black which is mainly for Testing purposes. Check it out and Test and see our New Improved XMB Design Layout. We will be adding alot of new Custom Wallpapers within a weeks time!

-The "TV/Movies" Section has been Updated, Very awesome Wallpapers!
-The "GAMES" Section has been Updated.
-Newsletter has now been removed/discontinued.
-We have Enabled Guests to Comment on Wallpapers.
-**NOTICE: After we enabled Comments again, we recieved thousands of spam Comments (LOL) which we did expect. So what we have done to fix the Problem. We installed 'Captcha'. From now on, when you Login or post a Comment. You will have to type in the 'code' displayed on the screen. This will stop Spamming! YAY! It has been Tested and works 110%

-The "18+" Members Exclusive Section has been Updated with Awesome Adult content!
-Special Thanks to User "waltyftm" for the recent Uploads! Keep up the great work!
-Comments have been re-enabled. Only Users can Post Comments
-The "GAMES" Section has been Updated! Heaps of Great Ones Added.
-The "Official Sony PS3 Walls" Section has been Updated.
-"iorkara PS3 Wallpapers" Section Updated!
-ALL NEW Section "iorkara PS3 Wallpapers", Our own Personal Custom Walls!
-Personal Thanks to User "waltyftm" for all your Uploading!
-Ads: Iorkara Blog Ad removed. The site looks better without it.
-HAPPY NEW YEAR EVERYBODY! Woop Woop!
-The IORKARA Blog Ad has been Added.
-Banner Design Changed.
-PlayStation3Wallpapers.eu / PS3walls.com now has over 4,500 PS3 Wallpapers!!!
-The Members Exclusive "Females" Section has been Updated.
-All New "Scenery" Section now Up and Updated.
-The "TV/Movies" Section has been Updated.
-The "Cars" Section has been Updated.
-The "Males" Section has been Updated.
-The "Animals" Section has been Updated.

-We have Added an ALL NEW PlayStation 3 News Section at the Bottom of every
page. Now while Browsing our Wallpapers you also get the latest in PS3 NEWS!!

-The "Official Sony PlayStation 3 Wallpapers" Section has been Updated!
-XMAS / NEW YEARS SPECIAL UP FOR EVERYONE! HAVE FUN ALL!
-We now own www.playstation3wallpapers.eu
-New section "Males" has been Added to our Collection, have fun girls!
-New section "Christmas" has been Added to our Collection :)
-The "Cars" Section has been updated! Awesome Wallpapers!!!
-The "Games" Section has been updated!
-The "Computers" Section has been updated!

-We have Added "NEWSLETTER" Option now. Sign up & get updates to your Email

-The "Official Sony Wallpapers" Section has been Updated!

-UPLOADERS: We want to thank all the Members who help Upload Wallpapers to
PS3walls. It is very much appreciated and we are glad the that the PS3walls
Community is going Great! Thank You all Uploaders!

-DONATIONS: We now Accept PayPal Donations for PS3walls.com, it will help this website
grow and expand as PS3walls is now very popular and the site
needs more Hosting Space and Bandwidth. Thank You.

-NOTICE: Comments are Disabled for now until futher notice.

-125 FEMALE WALLPAPERS Added to the Members Exclusive 'Females' Section!

-News & Updates Info Bored: Has been Twicked to fit more News.

-ADS: Recoding.net is now sponcering us. They are a Hosting Service Company.

-Over 140 High Resolution Vector Wallpapers Added to 'Vector' Section. Enjoy!

-NEW Album Added: 'Vector' Wallpapers

-All new Porsche Wallpapers Added to "CARS" Section. Enjoy! They are really good :)

-NOTICE! All Spammers are now Banned within 24hrs.

-Reminder: All Wallpapers uploaded must be at PS3 Resolution or it will be rejected!

-Upload Limit for Users now increased to 40,000 KB.

-Redesigned News & Updates section now up :)

-Ad: Goto www.iorkara.com for the Great Online Community

-Huge list of Languages Added to the site for all Non-English Peeps :)

-The "18+" Members Exclusive Section now updated with more Wallpapers!!

-"Zippo" Album Added to our big list og Albums.

-"Zodiac" Album now up and Running.</textarea>
<br />
<BR/>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="iorkara@gmail.com">
<input type="hidden" name="item_name" value="Help Support This Website">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="http://www.iorkara.com/2/paypal.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>
<p>&nbsp;</p>
<p>{CUSTOM_HEADER}
</p>
</center>
<table width="900"  border="0" cellspacing="0" cellpadding="0">
  <tr valign="top">
    <td width="53" rowspan="3" id="far-left"><img src="themes/hardwired/images/far-left.gif" width="54" height="14" alt="" /></td>
    <td width="18" class="middle-left"><img src="themes/hardwired/images/middle-left.gif" width="18" height="14" alt="" /></td>
    <td height="62" class="right-banner">
        <div class="left-banner">
        <div class="gal_name">{GAL_NAME}</div>
        <div class="gal_description">{GAL_DESCRIPTION}</div>
        </div>
    </td>
    <td width="19" class="middle-right"><img src="themes/hardwired/images/middle-right.gif" width="19" height="14" alt="" /></td>
    <td width="53" rowspan="3" class="far-right"><img src="themes/hardwired/images/far-right.gif" width="53" height="14" alt="" /></td>
  </tr>
    <tr>
    <td width="18" class="middle-left">&nbsp;</td>
    <td class="gallery"><div align="right" class="topmenu"> {SYS_MENU} </div>
      <br />
      <div align="left" class="topmenu">{SUB_MENU}</div> <br />
      <div align="center"> {THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST} </div>
      <br />
      {ADMIN_MENU} {GALLERY}</td>
    <td width="19" class="middle-right">&nbsp;</td>
  </tr>
  <tr valign="baseline">
    <td width="18" class="middle-left"><img src="themes/hardwired/images/bottom-left.gif" width="18" height="31" alt="" /></td>
    <td class="bottom-middle">&nbsp;</td>
    <td width="19" class="middle-right"><img src="themes/hardwired/images/bottom-right.gif" width="19" height="31" alt="" /></td>
  </tr>
</table>
<br />
<br />
<br />
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
   <center>
       <!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=62762&bid=233015" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">pay per click</a></noscript>
<!-- End BidVertiser code -->
<br />
<br />
<br />
<!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=62762&bid=260140" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">pay per click</a></noscript>
<!-- End BidVertiser code -->
   </td>
  </tr>
</table>
<p>&nbsp;</p>

<br />
<div align="center"> {LANGUAGE_SELECT_FLAGS} <br />
  <br />
</div>
<p>{CUSTOM_FOOTER}
  {VANITY}
  <center>
</p>

</body>

</html>

rphMedia

Again, make sure that your host supports the crossdomain policy file.

iorkara

Okay. Thank you for your Fantastic help so far! Its very much appreciated!
Im just waiting for a reply from my host.

iorkara

Sorry for double post.
Its seems my space does not support crossdomain policy.
Is there a way i can enable it another way?