Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 ... 4 5 6 7 [8] 9 10 11   Go Down

Author Topic: Image Scroller - based on Filmstrip  (Read 289484 times)

0 Members and 3 Guests 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 Filmstrip
« Reply #140 on: December 04, 2005, 01:10:26 pm »

For the ones asking for the flash without the graphics, refer to reply #52.  I would suggest that you read through all the threads anyway; there are recommendations/tidbits along the way (to prevent further questions).

MIRROR, the width and height must be exact or distortion will occur.  This too was mentioned a couple of times in the threads  ;)

SlasT

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Image Scroller - based on Filmstrip
« Reply #141 on: December 05, 2005, 08:53:42 am »

I have found the attached file flashthumb.zip in #52. Yes there is not present tile.gif but in a place of this figure there is an invisible border in its height. I.e. if height flashthumb.swf = 190 pixels the height of photos will be somewhere 120 pixels. And it would be would be desirable that they are equal.
« Last Edit: December 09, 2005, 03:39:25 pm by SlasT »
Logged

MIRROR

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Image Scroller - based on Filmstrip
« Reply #142 on: December 13, 2005, 04:52:19 am »

For the ones asking for the flash without the graphics, refer to reply #52.  I would suggest that you read through all the threads anyway; there are recommendations/tidbits along the way (to prevent further questions).

MIRROR, the width and height must be exact or distortion will occur.  This too was mentioned a couple of times in the threads  ;)

Gotcha' on that. Thanks and so sorry i am not better proficient in these matters just yet but then theres the rest of this lifetime to learn and discover , right? Where would some of us be without others to direct us along the way.

Again my thanks.  ;)
Logged
(http://www.21stcentury.roxr.com/images/graphic.jpg)

SlasT

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Image Scroller - based on Filmstrip
« Reply #143 on: December 13, 2005, 01:53:38 pm »

For the ones asking for the flash without the graphics, refer to reply #52.  I would suggest that you read through all the threads anyway; there are recommendations/tidbits along the way (to prevent further questions).

Variant 1 this that, that was primary.
A variant 2 this that, that has turned out at use *.swf without tile.gif.
A variant 3 this that, that is necessary for me.
Logged

renatab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
    • www.renatavonline.com
Re: Image Scroller - based on Filmstrip
« Reply #144 on: December 19, 2005, 10:00:31 am »

 :-*
hi rphmedia... you like to see the pugin in action.. (http://www.bbrats.com/gallery/index.php)
i am using it for my kids' website now and it still is one of the coolest features according to all who took a preview...
2 things i'd like to know... is there a chance to adjust the color of the strip to my theme? i can get hold of the necessary program, but maybe that is a bit overdone or too complicated - what's your view?
and... what is this thing with the "agent" that flash paces re: use of microphones etc? one of my friends classified that as spyware (or is it cia-ware?)
hope you enjoy the (virtual) laurels of your work...
renata
Logged
a shot says more than a thousand words...

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #145 on: December 20, 2005, 10:15:49 pm »

:-*
hi rphmedia... you like to see the pugin in action.. (http://www.bbrats.com/gallery/index.php)
i am using it for my kids' website now and it still is one of the coolest features according to all who took a preview...
2 things i'd like to know... is there a chance to adjust the color of the strip to my theme? i can get hold of the necessary program, but maybe that is a bit overdone or too complicated - what's your view?
and... what is this thing with the "agent" that flash paces re: use of microphones etc? one of my friends classified that as spyware (or is it cia-ware?)
hope you enjoy the (virtual) laurels of your work...
renata

It appears that you figured out a way for the background color change.  There are other ways, but that works.  Make sure you put it in the <embed> tag as well (for other browsers).  That code would be "bgcolor=#ffccff"

It would probably look better without the filmstrip graphic - there's a post (I think 52) that doesn't have the black graphic.

SlasT

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Image Scroller - based on Filmstrip
« Reply #146 on: December 22, 2005, 08:45:45 am »

It would probably look better without the filmstrip graphic - there's a post (I think 52) that doesn't have the black graphic.
All is true, in a post 52 there are no black graphic, but it is an example of a variant 2 my previous posts (there is an empty place instead of graphic). And the variant 3 (borders flash on borders of a photo) is necessary to me.
Logged

renatab

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
    • www.renatavonline.com
Re: Image Scroller - based on Filmstrip
« Reply #147 on: December 27, 2005, 11:48:59 am »

well, i think the moving strip (that is currentlly black) is just so cool.
i wonder if i can adjust the color of the strip?
i have all tools to do that, just would not know where to apply those changes.
thks for the advice with the tags... my wonderful work with code has just messed up both my sites...
 :-[
ciao
renata
Logged
a shot says more than a thousand words...

Blueiris

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 170
  • Horse poor!
    • Saddlebred World Gallery
No images
« Reply #148 on: December 27, 2005, 07:09:20 pm »

I'm testing the image scroller based on the html files posted previously in this thread by Ron and PYAP. The flash files load fine, and the filmstrip obviously scrolls, but no images are showing up.

I have flashthumb.php, flashthumb.swf, main.swf, and the html file all in the Coppermine root. Since this is being tested in my local Coppermine install, there are no .htaccess files to contend with. The object and embed tags in the html file call "main.swf," since it is in the same directory as the html file. All of the user albums are publicly viewable.

I have tried opening main.swf directly in the flash player, and get the same result - no images. I design in Flash and LiveMotion, and I've never had trouble testing a file on my local machine, so I'm at a loss.

I feel I'm missing something here, but what? Can someone help kickstart my brain?

Edit: this install is cpg1.4.2  bridged to phpBB2.0.18 with the most recent bridge files.

Another edit: Have since tested this on the server, and no images show up there, either.

Arrrgghhh! Edit: It's the bridge. Disabled bridging and everything worked fine. Anyone know why the bridging causes the scroller to be unable to pull the images? Must have the bridge - really want to use the scroller - how to make this work???
« Last Edit: December 27, 2005, 09:18:42 pm by Blueiris »
Logged
You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #149 on: December 27, 2005, 10:06:15 pm »

There must be a difference in the folder structure where the images are stored.  I have no idea, but maybe someone else will.  There are a couple other scripts that use actual links to image folders - you may want to try those (instead of the database).

Nibbler

  • Guest
Re: Image Scroller - based on Filmstrip
« Reply #150 on: December 27, 2005, 10:19:32 pm »

Use cpg_db_query() instead of mysql_query()
Logged

Blueiris

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 170
  • Horse poor!
    • Saddlebred World Gallery
Re: Image Scroller - based on Filmstrip
« Reply #151 on: December 27, 2005, 11:46:20 pm »

Use cpg_db_query() instead of mysql_query()

YES! That did it. Thanks Nibbler - workin' perfect now.

Whew - now I'm only hours away from getting this gallery live!
Logged
You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.

Blueiris

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 170
  • Horse poor!
    • Saddlebred World Gallery
Re: Image Scroller - based on Filmstrip
« Reply #152 on: December 30, 2005, 06:44:58 pm »

Ron - thanks, applause, a cyber blue ribbon and a cyber trophy to you for creating this mod! Thanks also to you and PYAP for the links to html pages that got me on the right track for what I wanted to do with it, and of course, again to Nibbler for the key that unlocked the bridge problem. Gallery went live last night, and the uploads are coming in fast and furious. Everyone loves the Image Scroller!

You can see it at work here:

http://www.saddlebredworld.com/

and at the top of the Saddlebred World Forum here:

http://www.saddlebredworld.com/Forums/index.php

This will be a wonderful promotional tool for the site, since I can let users put the Image Scroller on their sites to advertise the gallery!

A hint for FireFox users - FF almost drove me nuts in the final hours of getting this up. In FF, only one panel of images would scroll past, then a blank space where the next panel should have followed. Ran fine in IE and NS. It was a player problem, apparently. Upgrading FF to Flash Player 8 fixed.

Roberta
Logged
You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #153 on: December 30, 2005, 08:01:12 pm »

Very nice, thanks for the comments.

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Image Scroller - based on Filmstrip
« Reply #154 on: December 31, 2005, 09:56:02 am »

The article, Embedding Flash While Supporting Standards, showed how to make the scroller code validate in CPG 1.4.

The following replaces the object block (which included <embed>, which prevented validation)
Code: [Select]
            <object type="application/x-shockwave-flash" data="main.swf" width="715" height="190" >
                <param name="menu" value="false" />
                <param name="movie" value="main.swf" />
                <param name="play" value="true" />
                <param name="loop" value="false" />
                <param name="quality" value="high" />
The random scroller requires Flash to work.
            </object>
Logged

SlasT

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Image Scroller - based on Filmstrip
« Reply #155 on: December 31, 2005, 11:24:14 am »

Blueiris
Show please your code from page of a forum.
http://www.saddlebredworld.com/Forums/index.php
And what source code was used?
Logged

Blueiris

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 170
  • Horse poor!
    • Saddlebred World Gallery
Re: Image Scroller - based on Filmstrip
« Reply #156 on: December 31, 2005, 07:57:30 pm »

The code on the forum page is a simple iframe that resides in a td tag in phpBB's overallheader.tpl for that themel, like this:

Quote
<tr>
   
   
   <!--Start Gallery Filmstrip-->
   

   <td width="150"><img src="templates/ChristmasOne/images/spacer.gif" alt="" width="150" height="10" border="0"></td>
   <td align="center" width="100%" valign="middle">
   
   <iframe src="http://saddlebredworld.com/Gallery/120.html" name="Scroller" id="Scroller" width="600" height="120" align="top" scrolling="no" frameborder="0"></iframe></td>
      </tr>
   
   
   <!--End Gallery Filmstrip-->
   </td>
   </tr>

To made the frame, I simply put this in the .css file for the template:

Quote
#Scroller {
      border: 5px double #0B6900;
   }


"120.html" is a plain jane html file:

Quote
<html>

<head>
<title></title>
</head>

<body bgcolor="#04111F" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" scroll="no">

<table width="600" border="0" cellspacing="0" cellpadding="0" align="left">
    <tr>
      <td width="600" align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="600" height="120" align="middle" vspace="0" hspace="0">
                  <param name=movie value="main2.swf">
                  <param name=menu value="false">
                  <param name="BGCOLOR" value="04111F">
                  <embed src="main2.swf" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="600" height="120" align="middle" vspace="0" hspace="0" menu="false" bgcolor="04111F"></td>
     
    </tr>
  </table>
 
</body></html>

"120.html" resides in my Coppermine root directory along with flashthumb.swf, main2.swf, and flashthumb.php. Please note that main2.swf mods the mod. I wanted the Image Scroller to be 120 px high rather than the standard 190 for this particular page. Since I work in Flash, I simply reconstructed main.swf to the narrower height.  If it's the narrower height that interests you, I can zip and attach main2.swf, but only if Ron gives the OK to do that. It's his mod, after all!

Logged
You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #157 on: December 31, 2005, 08:03:14 pm »

Quote
but only if Ron gives the OK to do that. It's his mod, after all!

No problem at all.

Blueiris

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 170
  • Horse poor!
    • Saddlebred World Gallery
Re: Image Scroller - based on Filmstrip
« Reply #158 on: December 31, 2005, 09:39:56 pm »

Since Ron gave the OK, I've attached a zip with main2.swf to display the Image Scroller at 120 px. high. This should be used with the version of flashthumbs.swf that does NOT have the filmstrip graphic.
Logged
You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.

sbpoole

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 66
Image Scroller - CPU usage high
« Reply #159 on: January 02, 2006, 06:27:17 pm »

I applied the image scroller into the anycontent file.  Works great and I love it, but I noticed that in the task manager-processes, that firefox was using anywhere from 25-50% of the cpu usage even when the page loading is done.  Without anycontent enabled, the cpu usage drops to 0% when page has finished loading.  Image scroller also seems to slow performance time when you click on a page or thumbnail.  Any idea why the cpu usage is so high with image scroller loaded? I use cpg1.4.2 and copied and pasted only the code for the image scroller into it.  That is all the anycontent page has in it.

Thanks.
Logged
Pages: 1 ... 4 5 6 7 [8] 9 10 11   Go Up
 

Page created in 0.033 seconds with 20 queries.