Image Scroller - based on iTunes - Page 10 Image Scroller - based on iTunes - Page 10
 

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.

rphMedia

#180
Quote from: Carlos5039 on November 17, 2007, 03:25:17 AM
Is there a way to make the Backgound Transparent?  When used in Multiple themes sometimes the colors do not match.
I've tried - Firefox won't allow transparency and I can't find a workaround. Actually, I was thinking of the new Flash version - if you read the thread, you will find a transparent solution with the current versions throughout.


@freeedy - No idea why yours doesn't work. If it worked before with the same exact setup, but different host, I would look toward the host. Maybe htaccess issues or something. Nevertheless, I'm looking into a way to override this occasional behavior.

freeedy

Quote from: rphMedia on November 17, 2007, 10:18:32 AM
I've tried - Firefox won't allow transparency and I can't find a workaround. Actually, I was thinking of the new Flash version - if you read the thread, you will find a transparent solution with the current versions throughout.


@freeedy - No idea why yours doesn't work. If it worked before with the same exact setup, but different host, I would look toward the host. Maybe htaccess issues or something. Nevertheless, I'm looking into a way to override this occasional behavior.

Thanks for your reply, could it be a problem with the new upgrade of the cpg?? ´cause I recently upgrade to the nw version. What should I look for in the htaccess?

dke

Awesome mod indeed, i got it to work instantly.

However im confused about the thumbnail scaling, i've tried to find the solution in this thread but i cannot find it. My thumbs look really bad with the default settings, and i've played around with the "width" and "height" settings but those dosn't help. There is a "scale" setting that is default to "showall" what are the other options?

Anyway, really great mod!

dke

I was blind sorry, didn't see the attached file to post 22.

Can't edit my post so i had to make a double one!

Great mod!

dke

I am sorry for the tripple post but i had one last question regarding your modification.

1. Is there anyway to make the "browsing cycle" begin at step 4 or later (thus would look nicer at the beginning)

2. Is there a way to make this happen: If i click a image that is currently in the middle i will automaticly be sent to the intermediate image on the gallery?

Thanks for this wonderful mod!

AlexTheMartian

I love it.

I also request the same thing as the post above me.

However currently I decided to let this mod take place of both my Random Images and Latest Additions tables.
and in order for me to fully make use of doing that, I would like to have links to the photo's page, however I can not see any actual way except editing the flash (which only you can do.)

However I really like the clicking the thumbs to scroll across, therefore I have a suggestion to add to this request to remain with the click-to-scroll, and that is putting text of the image name bellow the thumbnail, and that image name can be the link to the image's page.

But I will be happy with any way to link to the photo's page

rphMedia

Give me a few days, I'll see what I can do.

rphMedia

Getting close here - http://gallery.rphmedia.net/flow_link2.html

May not do too well in auto-slideshow mode... still working it.

AlexTheMartian

Quote from: rphMedia on November 28, 2007, 01:23:20 PM
Getting close here - http://gallery.rphmedia.net/flow_link2.html

May not do too well in auto-slideshow mode... still working it.

probably will help to have the hand cursor. but I really like how it is coming out.

also, how do you change the script to button or scrollbar mode anyways?

Tranz

I like how you implemented it so that clicking on the non-center ones will move them to center, so that it's possible to "flip" through the images while also being able to visit the image.

AlexTheMartian

Quote from: TranzNDance on November 28, 2007, 04:41:00 PM
I like how you implemented it so that clicking on the non-center ones will move them to center, so that it's possible to "flip" through the images while also being able to visit the image.

Yeah I also thought that was a good implementation  :)

dke

Quote from: rphMedia on November 28, 2007, 01:23:20 PM
Getting close here - http://gallery.rphmedia.net/flow_link2.html

May not do too well in auto-slideshow mode... still working it.

veeery nice work rphMedia!

rphMedia

OK, the 'link to intermediate' is complete. I started another thread so as not to further clutter this one.

It's currently in General Discussion, but should soon be moved to Mods: Visuals

I've also got another mod titled "Image Scroller - based on ? ? ?" that links to the Intermediate as well.

Jason kiDD

I have tried and tried and tried but cannot get this mod to work... Please advise.. jdjoseph2000@hotmail.com

http://www.phatjamzent.com/gallery/flow_link.htm

Code is as follows: .php
Quote<?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 {$CONFIG['TABLE_PICTURES']} AS p WHERE filename LIKE '%.jpg' ORDER BY pid DESC LIMIT 20");
$row = mysql_fetch_array($result);
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><description><![CDATA[" . $row['title'] . "]]></description><data><![CDATA[" . $path . "displayimage.php?pos=-" . $row['pid'] . "]]></data></image>";
}
$xml .= '</content>';
echo $xml;
?>

Code is as follows: .htm
Quote<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Upcoming Events</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#000000" scroll="auto">
<table width="100%" height="100%" border="0"><tr align="center" valign="middle"><td>
<script language="javascript">
   if (AC_FL_RunContent == 0) {
      alert("This page requires AC_RunActiveContent.js.");
   } else {
      AC_FL_RunContent(
         'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
         'width', '900',
         'height', '400',
         'src', 'flow_link',
            'FlashVars', 'xmlPath=http://www.phatjamzent.com/gallery/flow_link.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_link',
         'bgcolor', '#000000',
         'name', 'flow_link',
         'menu', 'true',
         'allowFullScreen', 'false',
         'allowScriptAccess','sameDomain',
         'movie', 'flow_link',
         'salign', ''
         ); //end AC code
   }
</script>
</td></tr></table>
</body>
</html>

Nibbler


webdirector

Thanks for the Great Script !

fits well with my new site " www.itouchthemes.com/cpg " its a wallpaper and Themes website ( when it will be finished  ;D).

I can not get the script to work :

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

as you can see I have redboxes instead of pictures.
any Idea what I am doing wrong ?
Thanks for help !

Rgds

rphMedia

Hint: WWW - look at the 2 links you provided.

Try adding WWW to the URL AND the script URL.

webdirector

Sorry I have no idea what you mean .

I just changed my Template.html and added the www and now I see nothing ?

What exactly is wrong ?

sorry for being a noob

here the template:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta name="mssmarttagspreventparsing" content="true" />
<title>{TITLE}</title>
{META}
<link rel="stylesheet" href="themes/chaoticsoul/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
<div id="page">
{CUSTOM_HEADER}

<div id="header">
   <!-- If you wish to have your gallery title in 2 colors, edit this line. If you want a white title, comment out this line and use the line underneath. -->
   <h1><a href="index.php">iTouchThemes<span></span></a></h1>
   <!-- <h1><a href="index.php">{GAL_NAME}</a></h1> --> <!-- use this line to get an all white title -->
   <div class="description">{GAL_DESCRIPTION}</div>
</div>

<hr />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sample Flash Script</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<BODY bgcolor="#363430" 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.itouchthemes.com/cpg/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', '#161410',
         'name', 'flow',
         'menu', 'true',
         'movie', 'flow',
         'salign', ''
         ); //end AC code
   }
</script>
</div>
</body>
</html>

<hr />

<div id="wrapper" class="clearfix">


   <div id="content" class="narrowcolumn">

      <div class="post">
         {GALLERY}
      </div>
      <br />
      <div class="cpg_footer" align="center">
         {THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}<br />
         {LANGUAGE_SELECT_FLAGS}
         {VANITY}
      </div>

   </div><!-- End content -->

   <div id="sidebar">
         
         <h3>About This Gallery</h3>
         <p class="postmetadata alt">
            <small>
               Coppermine Rocks!!
            </small>
         </p>

         {ADMIN_MENU}

         {SYS_MENU}
         
         {SUB_MENU}

         <h3>Links</h3>
            <ul>
               <li><a href="http://www.billygbullock.com" title="Read my blog">Blog</a></li>
               <li><a href="http://forum.coppermine-gallery.net/" title="Coppermine Support Forum">Coppermine Support Forum</a></li>
               <li><a href="http://www.mozilla.com/firefox/" title="Get Firefox">Get Firefox</a></li>
               <li><a href="http://chrispederick.com/work/webdeveloper/" title="Web Developer Extension">Web Developer Extension</a></li>
            </ul>
            
         <h3>GalleryRoll</h3>
            <ul>
               <li><a href="http://gaugau.de/" title="GauGau">GauGau</a></li>
               <li><a href="http://stramm.st.funpic.org/" title="Stramm">Stramm</a></li>
               <li><a href="http://www.ic-gallery.com/" title="Nibbler">Nibbler</a></li>
               <li><a href="http://takethu.com/" title="TranzNDance">TranzNDance</a></li>
               <li><a href="http://myprj.com/" title="Sami">Sami</a></li>
               <li><a href="http://tariquesani.net/" title="Tarique">Tarique</a></li>
               <li><a href="http://www.donovanbray.com/" title="Donnoman">Donnoman</a></li>
               <li><a href="http://www.abbasali.net/" title="Abbas">Abbas</a></li>
               <li><a href="http://adityamooley.net/" title="Aditya">Aditya</a></li>
               <li><a href="http://www.kazebeer.com/" title="Kegobeer">Kegobeer</a></li>
               <li><a href="http://www.artistsinhawaii.com/evj/" title="Madeinhawaii">Madeinhawaii</a></li>
               <li><a href="http://www.billygbullock.com/" title="Gizmo">Gizmo</a></li>
               <li><a href="http://cpmfetch.fistfullofcode.com" title="Vuud">Vuud</a></li>
            </ul>
   </div><!-- End sidebar -->

</div><!-- End wrapper -->

   <hr />
   <div id="footer">
      <p>
         <!-- Please leave these credit links intact as they are small and unobtrusive to the theme. Thanks! -->
       | </p>
  </div>

{CUSTOM_FOOTER}
</div><!-- End page -->

</body>
</html>

rphMedia


webdirector

It's now working all of a sudden

Thanks !!!!!

Looks great  ;D