Advanced search  

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]

Pages: 1 ... 6 7 8 9 [10] 11 12 13   Go Down

Author Topic: Image Scroller - based on iTunes  (Read 259996 times)

0 Members and 1 Guest are viewing this topic.

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on iTunes
« Reply #180 on: November 17, 2007, 10:18:32 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.
« Last Edit: November 17, 2007, 11:40:57 am by rphMedia »
Logged

freeedy

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Image Scroller - based on iTunes
« Reply #181 on: November 17, 2007, 06:18:37 pm »

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?
Logged

dke

  • Guest
Re: Image Scroller - based on iTunes
« Reply #182 on: November 23, 2007, 09:46:35 am »

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!
Logged

dke

  • Guest
Re: Image Scroller - based on iTunes
« Reply #183 on: November 23, 2007, 09:57:17 am »

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!
Logged

dke

  • Guest
Re: Image Scroller - based on iTunes
« Reply #184 on: November 23, 2007, 10:41:59 am »

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!
Logged

AlexTheMartian

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • Moonlight Heights Gallery (for a virtual reality "town")
Re: Image Scroller - based on iTunes
« Reply #185 on: November 27, 2007, 06:03:27 am »

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
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on iTunes
« Reply #186 on: November 27, 2007, 05:26:54 pm »

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

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on iTunes
« Reply #187 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.

AlexTheMartian

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • Moonlight Heights Gallery (for a virtual reality "town")
Re: Image Scroller - based on iTunes
« Reply #188 on: November 28, 2007, 01:39:42 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?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Image Scroller - based on iTunes
« Reply #189 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.
Logged

AlexTheMartian

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • Moonlight Heights Gallery (for a virtual reality "town")
Re: Image Scroller - based on iTunes
« Reply #190 on: November 28, 2007, 06:22:56 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  :)
Logged

dke

  • Guest
Re: Image Scroller - based on iTunes
« Reply #191 on: December 01, 2007, 11:39:45 am »

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!
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on iTunes
« Reply #192 on: December 05, 2007, 05:48:12 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Image Scroller - based on iTunes
« Reply #193 on: January 03, 2008, 09:22:53 pm »

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>
Logged

Nibbler

  • Guest
Re: Image Scroller - based on iTunes
« Reply #194 on: January 03, 2008, 09:36:13 pm »

Change mysql_query to cpg_db_query
Logged

webdirector

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Image Scroller - based on iTunes
« Reply #195 on: January 07, 2008, 08:29:03 pm »

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
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on iTunes
« Reply #196 on: January 07, 2008, 08:34:49 pm »

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

Try adding WWW to the URL AND the script URL.

webdirector

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Image Scroller - based on iTunes
« Reply #197 on: January 07, 2008, 09:19:38 pm »

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>
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on iTunes
« Reply #198 on: January 07, 2008, 09:21:07 pm »

webdirector

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Image Scroller - based on iTunes
« Reply #199 on: January 07, 2008, 09:22:02 pm »

It's now working all of a sudden

Thanks !!!!!

Looks great  ;D
Logged
Pages: 1 ... 6 7 8 9 [10] 11 12 13   Go Up
 

Page created in 0.029 seconds with 20 queries.