Image Scroller - based on Filmstrip - Page 9 Image Scroller - based on Filmstrip - Page 9
 

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 Filmstrip

Started by rphMedia, December 05, 2004, 05:18:08 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

SlasT


Blueiris

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

Quote from: sbpoole 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.

That's to be expected, depending on the size of your processor and memory. The Flash player is client side - in other words, it runs on your computer, not on the server. Scrolling the images and/or fading the thumbs in and out  makes the processor work.

A good illustration is this site: http://www.marisaonline.org. There's a simple Flash file running on that site that just fades from one image to another. Watch the processor performance while that file runs. After the image fades in, the CPU usage goes right down to between 0 and 7%. When the images change, the usage jumps to over 40% during the change on my machine.
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

Blueris is correct, and conversely, just launch a fairly large program (like MS Word or PhotoShop) and watch the processor indicator tick away.  This is normal stuff.  It's not really hogging all of the resources, just needs some processor power to work.

freesouljah

very cool mod...

is there a way I can make it so the thumbs are linked to their perspective pages?

thanks

Blueiris

Quote from: freesouljah on January 16, 2006, 07:05:05 PM
is there a way I can make it so the thumbs are linked to their perspective pages?

Unfortunately, no, not with the out-of-the-box mod.
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.

freesouljah

Quote from: Blueiris on January 19, 2006, 11:40:57 PM
Unfortunately, no, not with the out-of-the-box mod.

what would be the best way that I go about getting it to do that?

Blueiris

You can't, unless you have enough skill with FlashMX to construct a file similar to the Image Scroller and add the Actionscript and PHP necessary to add the links. I can't speak for Ron, who developed the Image Scroller, and I don't know whether this is a feature he's thinking of adding to future versions.
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.

freesouljah

rats....I don't have much skill w/ flashmx...so until that happens, this idea is out the window....maybe ron will decide to add it...  8)

Blueiris

Are you using the Image Scroller on or off site? I ask because I have it running on some of my other sites to advertise a particular gallery, and I am working on a "wrapper" that will make the Image Scroller itself a link to the gallery. If that will help you, I'll post it here when it's done.
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.

freesouljah

right now it is on...but that might come in handy down the road...and I am sure somebody else would be interested in it also ;)

Surfices

Hi!

I'm searching for a mod to make all thumbnails of a Album visible in
the filmstrip. Well, I'm thinking to add two arrows (one on the left
and one of the right side) to the filmstrip to switch to the
next thumbnail picture in the filmstrip.

Could anybody help me? Unfortunatelly I'm not allowed to create
a new subject. Do you think this would be possible or do you
even have got another idea?

Thanx Florian

Nibbler

Don't hijack threads, make your own in the support board. The mods board is for completed mods and so is locked in order to stop people using it to request mods.

angeldevil

Quote from: rphMedia 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


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 :)

random image scroller based on Filmstrip (cpg 1.4.x).

Hi

this is my simple solution that uses a anycontent.php with double visual display unit for flash files inside one table (with the famous image scroller based on Filmstrip by rphMedia ).

In attached the anycontent.php and two demonstrations files .swf (a random pic scroller and a graceful clock): just one for every visual display unit. Unzip, put all them into your gallery root and go!

If you want rename the .swf files you will change the names also inside anycontent.php 

Tested OK on hardwired theme. See a demo pic

Thats all folks
a

Jr. tristan

Thanks Ron and everyone here,

The Image Scroller rans smoothly on my site. I am loving it.

However, no new images loads after I have pressed the "reload" buttom on my IE. (i.e. show the same images as before, no refresh of images at random scroll).
see it.. here

I have browsed "Take Thu" gallery and it could reload random images after pressing reload button.
Is there any problem with mine?



Jr. tristan

I test it once again... It loads fresh images after I have restarted my windows.

I guess its cache refresh on each restarting of windows.!?
It would be nice in this case. Thanks

LVV

Quote from: rphMedia on December 05, 2004, 05:18:08 PM
Speaks for itself.  Still refining.

*removed old link  8)
Please giv me links this mod... I want this very good mod see in my gallery. ;)

Joachim Müller

Just scroll 6 postings down and you'll find the posting that contains the code. Thanks for reading a thread you reply to in the future before asking questions! >:(

LVV

Quote from: GauGau on September 07, 2006, 02:39:35 PM
Just scroll 6 postings down and you'll find the posting that contains the code. Thanks for reading a thread you reply to in the future before asking questions! >:(
Sorry links very small, I dont see this. Thenks GauGau, all working... it's a buatyful mod.  ::)

Gephri

Exciting mod - really brings the page to life!  Has anyone taken the image scroller beyond the anycontent.php page?  Would like to use to show random pictures from each album on pages like thumbanils.php, displayimage.php, etc.

Thanks!