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 ... 11   Go Down

Author Topic: Image Scroller - based on Filmstrip  (Read 270940 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 Filmstrip
« on: December 05, 2004, 05:18:08 pm »

Speaks for itself.  Still refining.

*removed old link  8)
« Last Edit: March 04, 2005, 07:37:47 am by GauGau »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Sneak Peek at a new mod
« Reply #1 on: December 05, 2004, 05:35:37 pm »

Sneak preview indeed and looking to be a nice mod :)

* Hein makes mental note to watch this thread.
Logged

hama

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 229
Re: Sneak Peek at a new mod
« Reply #2 on: December 05, 2004, 09:24:49 pm »


Wow ... Let's talk about "Teaser" ...  ;)
Logged
Get up, stand up, stand up for your rights! - Get up, stand up, don't give up the fight!

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Sneak Peek at a new mod
« Reply #3 on: December 06, 2004, 12:17:28 pm »

Well, here's one place where it's implemented.  This particular is calling up the last 12 uploads from the Gallery.

*removed old link

Should have the details within a day or so.
« Last Edit: December 12, 2007, 07:07:36 pm by rphMedia »
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Sneak Peek at a new mod
« Reply #4 on: December 08, 2004, 06:10:41 pm »

And finally in CPG itself -

*removed old link 
« Last Edit: March 02, 2005, 04:46:59 pm by rphMedia »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Sneak Peek at a new mod
« Reply #5 on: December 08, 2004, 06:17:05 pm »

Looking very nice Ron. Congrats on a nice mod! Really cool way of adding a slice of your gallery to the frontpage of a website to lure visitors to the pictures :P
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #6 on: December 08, 2004, 07:08:13 pm »

Alrighty, here are the files.  Drop them into your gallery root and put this in your anycontent*.php

Code: [Select]
starttable($CONFIG['picture_table_width'], 'Random scroll from our gallery.');
?>
<tr>
    <td class="tableb" >
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="190" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
                <param name="menu" value="false">
                <param name="bgcolor" value="#000000">
                <param name="movie" value="main.swf" />
                <param name="play" value="true" />
                <param name="loop" value="false" />
                <param name="quality" value="high" />
                <embed src="main.swf" width="600" height="190" loop="false" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" swliveconnect="true">
                </embed>
            </object>
    </td>
</tr>
<?php endtable(); ?>
<br  />

That's it.  The way it's configured, it will grab 13 thumbnails at random and load into the flash file. It will not show private album thumbnails. The height and width of the flash code is crucial as skewing will occur if modified. I left the background black (I think it looks better), but you can add a transparent parameter to the flash code to comply with your particular theme.  Any questions, fire away.

Enjoy!

edit - it'd be real nice if I added the files :)
« Last Edit: August 13, 2005, 09:40:33 am by GauGau »
Logged

hama

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 229
Re: Image Scroller - based on Filmstrip
« Reply #7 on: December 08, 2004, 07:29:30 pm »


Works great.

There's only a little problem:

This anycontent is much smaller than my others. Is it possible to have the filmstrip wider and maybe with 20 thumbs?

Thanks a lot!

P.S.: In Firefox ok!

hama
Logged
Get up, stand up, stand up for your rights! - Get up, stand up, don't give up the fight!

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #8 on: December 08, 2004, 07:42:55 pm »

20 thumbs?!  I think you mean just enough so we can use 'picture_table_width'?  Let me play around with the code. Sheesh, some people are never satisfied.......................kidding. Give me some time. I think it looks pretty good, hama [thumbs up!].

hama

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 229
Re: Image Scroller - based on Filmstrip
« Reply #9 on: December 08, 2004, 07:47:03 pm »


Quote
20 thumbs?!  I think you mean just enough so we can use 'picture_table_width'?
Yes, that's true.

--> Edit: What happens to "people" with resolution 800x600 (I've got 1024x768)?

Quote
Sheesh, some people are never satisfied.......................kidding.
Sorry, a tester has to test and test and test ......  ;)
« Last Edit: December 08, 2004, 09:43:26 pm by hama »
Logged
Get up, stand up, stand up for your rights! - Get up, stand up, don't give up the fight!

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Image Scroller - based on Filmstrip
« Reply #10 on: December 08, 2004, 10:24:15 pm »

Does this flash have a border?  On my site, I use this in an iframe on my homepage. It displays great in firefox, which respects the class and styles I give the iframe, but IE does not.  There is a very thick white border around the flash show, which I just cannot remove, and I think I've tried everything I can.

Excellent mod  ;)
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #11 on: December 08, 2004, 11:40:47 pm »

Actually Casper, I can't believe that the flash file looks that good squeezed down like that.  As I stated earlier, if you change any of the dimensions, then....well, unexpected results occur.  The simple solution to your problem is to set the background of the iFrame/flash code  to the color of your site background.  Probably somewhere in your css. Or I can modify the file to a width of 440, no problemo.

hama, for your question, tis the nature of the beast.  You need to design your site to the smallest target audience, if that's what you are concerned with.  If you're concerned about users w/800x600 res, then that's what you strive for.  Nothing should be more than 600 width and 800 height; barring scroll bars.  There's so many variables.  Your original request was for more than a 600 width.  This will create a horizontal scroll for your 800x600 users.  Just keep that in mind. Let me know what you guys want....:)

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Image Scroller - based on Filmstrip
« Reply #12 on: December 08, 2004, 11:56:30 pm »

No, it's not due to the size.  The iframe is only 440 wide, to fit the page, but the anycontent is the full width, so the iframe is only showing the left 440 of the anycontent.

I've tried everything with the css, and it works in firefox, where the background colour is what I want, but IE just ignores everything, including putting the background colour directly in the iframe code.

That's why I asked about the flash file having its own border.  I know nothing about flash, but I know other iframes I use have no such inner border, see the shoutbox as an example.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #13 on: December 09, 2004, 12:13:37 am »

Well, what is this class="tableflash" you have?  Probably has something to do with that, but I can't see that obviously.

It's a parameter/dimension problem.  As you can see on my site (in IE as well) and to answer your original question, no, there's no border whatsover w/ the flash file itself.  No border at this site either and it too is in an iFrame.

You had an unexpected pixel border with the last mod too, not enabling it to be centered.  Look into that "tableflash" class and see if you can manipulate that a bit.  Nice idea by the way, to make it smaller width; didn't catch that.  

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Image Scroller - based on Filmstrip
« Reply #14 on: December 09, 2004, 12:53:28 am »

The 'tableflash' was one of my attempts to use the css to cure the problem.  Notice on the site you link to the iframe is bigger than the slide show.  I agree they have managed to have the correct background colour.

But look at this on my site, http://www.hsocuk.com/index2.html where I have removed everything except the iframe with the slideshow.

I have made the iframe the same size as the slideshow, 600 x 190, but there is still the border, and the slideshow falls of the bottom.

Please note, this I know is a problem with the iframe, not your slideshow, but it's bloody frustrating.

I also noted that the border is there in firefox, but because it's the correct colour, you only notice it when the bottom filmstrip is cut short.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Image Scroller - based on Filmstrip
« Reply #15 on: December 09, 2004, 01:25:39 am »

I think I'm going to have to live with the iframe problem, so I'm going to ask a big favour  ;)

could you do one for me 400 wide x 140 high please.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #16 on: December 09, 2004, 01:51:57 am »

Nah, I don't buy it   ;D  This CAN be fixed, but yes, I will make a 400 wide show for you, along with hama's wider show.  Give me a day or so.  Something is telling the iFrame to have that border.  I'll be back..... 

dgennetten

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Image Scroller - based on Filmstrip
« Reply #17 on: December 09, 2004, 03:45:33 am »

The sprocket graphics, to me, look a bit dated.  Like things looked everywhere shortly after Alien Skins 1.0 came out.  How about a cleaner flatter look? Or a true photorealistic look?  Would you consider a contribution ?

Douglas
Logged

snork13

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 260
  • Internet! Is that thing still around?
    • Gallery
Re: Image Scroller - based on Filmstrip
« Reply #18 on: December 09, 2004, 05:49:10 am »

rphMedia  ;D Thanks for sharing
Logged

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Re: Image Scroller - based on Filmstrip
« Reply #19 on: December 09, 2004, 08:52:06 am »

rphMedia it's interesting ...

So I think you can be my solution :)

Would you be able to create a navigation system in FLASH using CPG database ?

Popup : on the left : thumbs, on the right, the called picture ... people don't know
the url of the pics ('cause inside flash) ...

I don't want to "break" this thread so if you can contact me by msn (if you have it, of course) > rod@fantasya.net

Very nice mod !
Pages: [1] 2 3 4 5 ... 11   Go Up
 

Page created in 0.024 seconds with 19 queries.