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] 2 3 4 5 ... 13   Go Down

Author Topic: Image Scroller - based on iTunes  (Read 259375 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
Image Scroller - based on iTunes
« on: May 25, 2007, 03:28:54 pm »

Been doin' the mess-around again. I'm not totally finished with this yet (you know how I like to tease first anyway). If you're familiar with iTunes, you'll recognize this (I think). I don't take credit for the interface, but I do for the CPG database/XML integration:

Here it is active in my test Gallery via anycontent: iTunes Sample

Give me some time to work out the details.
« Last Edit: May 07, 2009, 01:43:08 pm by rphMedia »
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Image Scroller - Based on iTunes
« Reply #1 on: May 27, 2007, 02:59:11 pm »

Awesome !

Can't wait for the initial release!
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Image Scroller - Based on iTunes
« Reply #2 on: May 27, 2007, 09:32:27 pm »

We need a huge clapping emoticon here
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Image Scroller - Based on iTunes
« Reply #3 on: June 12, 2007, 11:09:30 pm »

It does look very slick rph. Nice job!
Logged

severeidaho

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Re: Image Scroller - Based on iTunes
« Reply #4 on: June 13, 2007, 12:10:28 am »

wow,  Very nicely done.  I too am looking forward to the release.  Cant wait to use it on my website.  Great job...

-gerrit
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: Image Scroller - Based on iTunes
« Reply #5 on: June 13, 2007, 12:18:24 am »

Ron,

I said in an other topic : ABSOLUTLY PERFECT !  ;D
Many thank's about your work with FLASH and Coppermine  ;)

PYAP
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - Based on iTunes
« Reply #6 on: June 14, 2007, 04:34:09 pm »

Thanks guys, I have not forgotten about this, just been real busy with life issues. I'll be back soon :)

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - Based on iTunes
« Reply #7 on: June 16, 2007, 02:15:41 pm »

OK, I've attached the files. Instructions are pretty straight forward, but this mod is not recommended for the novice because of the edits required. If there are questions, I'll answer when I can.

I provided a sample html file to test with - where ever you see YOURSITE.com, this is the absolute path to your gallery. If you want to add it to anycontent (advanced users), you'll have to modify your theme's template.html - again, not for the novice.
Edit flow.php with yoursite information and the number of images you want extracted.

Place 'flow.php' in your Gallery root.
Place 'flow.swf' AND 'AC_RunActiveContent.js' where you want to run the application. It's that simple.

This will run anywhere on your site (domain), doesn't have to be in the gallery only. Flash has a security feature built in to not allow cross-domain executions. There is a fix for this if desired and your server(s) support(s) it. This means that you could have the mod at site A and extract the images from your gallery at site B. Obviously, you'll need control of both (all) domains.

You can change the background color to whatever you want - everything is currently black (#000000). I made the images 120x120 (no scale). I think the app looks better when all the images are the same size.

That's it, have fun with it.



« Last Edit: June 24, 2007, 01:20:35 pm by rphMedia »
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: Image Scroller - Based on iTunes
« Reply #8 on: June 16, 2007, 03:53:08 pm »

i Ron,

PERFECT  ;D
Your work turn perfectly at the first time. PERFECT...
(expl here)

PYAP
« Last Edit: June 16, 2007, 04:02:17 pm by PYAP »
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - Based on iTunes
« Reply #9 on: June 20, 2007, 12:15:43 pm »

Can someone move this to the Mods/Visuals board?  Thanks,

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Image Scroller - Based on iTunes
« Reply #10 on: June 20, 2007, 01:19:16 pm »

Done. Good work on this rphmedia  ;)
Logged

jacob0719

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • FireFly Photos
Re: Image Scroller - based on iTunes
« Reply #11 on: June 20, 2007, 10:10:31 pm »

Wow!  I had this up on my site in about 10min.  Looks great!

I did have a question though on how to change the scaling of the images.  On mine, they look kind of blocky.
www.fireflyphotosllc.com
« Last Edit: June 20, 2007, 10:34:52 pm by jacob0719 »
Logged

rphMedia

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

Wow!  I had this up on my site in about 10min.  Looks great!

I did have a question though on how to change the scaling of the images.  On mine, they look kind of blocky.
www.fireflyphotosllc.com
Actually, not the application's fault, you resized it which will always distort the images a bit more. What actual size are your thumbnails?

testomat

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Image Scroller - based on iTunes
« Reply #13 on: June 21, 2007, 07:45:55 pm »

That's superb !!! Does it ignore protected albums or does it shows everything. It would be nice, that it only shows pictures that are not in a protected album.
 
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on iTunes
« Reply #14 on: June 21, 2007, 08:13:19 pm »

That's superb !!! Does it ignore protected albums or does it shows everything. It would be nice, that it only shows pictures that are not in a protected album.
It won't show private thumbnails.

jacob0719

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • FireFly Photos
Re: Image Scroller - based on iTunes
« Reply #15 on: June 22, 2007, 02:22:41 pm »

I actually went thru an updated all of my thumbnails to be a bit larger thinking that was the issue.  They are all now set at 200px.  Does the swf have the ability to adjust itself to the size of the thumb?  Should I make my thumbs smaller to compensate?
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on iTunes
« Reply #16 on: June 22, 2007, 02:43:19 pm »

I actually went thru an updated all of my thumbnails to be a bit larger thinking that was the issue.  They are all now set at 200px.  Does the swf have the ability to adjust itself to the size of the thumb?  Should I make my thumbs smaller to compensate?
I don't really understand your questions at all. The swf doesn't adjust itself, you did, when you manually changed the dimensions. I mentioned in the download post that the image size in the swf containers is 120x120px. Even if you change your thumbs to that dimension, you may still notice skew because you resized the entire app.

I checked your current configuration and I think it looks pretty good.

testomat

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Image Scroller - based on iTunes
« Reply #17 on: June 23, 2007, 12:31:14 am »

Is there a way to change the 120x120 size ?
Logged

testomat

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Image Scroller - based on iTunes
« Reply #18 on: June 23, 2007, 01:15:14 pm »

Hello rphMedia,

sometimes it works and sometimes not. I don't know on what it depends. It doesn't show the pictures.
You have an idea ? You can see it at my site http://bilderbluete.de/e107_plugins/cpg149/index.php
I put the following code in my template.html

<body onload="initLightbox()">
<link rel="stylesheet" href="themes/e107/lightbox/css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="themes/e107/lightbox/js/prototype.js"></script>
<script type="text/javascript" src="themes/e107/lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="themes/e107/lightbox/js/lightbox.js"></script>

<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<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', '730',
         'height', '300',
         'src', 'flow',
         'FlashVars', 'xmlPath=http://www.bilderbluete.de/e107_plugins/cpg149/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>
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on iTunes
« Reply #19 on: June 23, 2007, 01:42:49 pm »

Try it with the www - http://www.bilderbluete.de/e107_plugins/cpg149/index.php

The link you provided doesn't include it. You need to be consistent throughout the code.
Pages: [1] 2 3 4 5 ... 13   Go Up
 

Page created in 0.026 seconds with 21 queries.