TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,055
  • Total Topics: 21,337
  • Online today: 201
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 111
  • Total: 111

Slideshow Aeva Media?

Started by Reko, April 09, 2010, 10:51:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shane is my name

These are all great!. Thank you very much.
Is there something I can add to any of them to only pull images from one specified album?




illusive817

Quote from: BlueSteel on April 10, 2010, 06:00:42 AM
hers the code i've just made for a scrolling Aeva Media block
Code ( php block) Select

$start = 0;
$max_number_of_pics = 99;
$sort = 'm.log_last_access_time';

// Start Scrolling routine
echo '<marquee  behavior="scroll" direction="up" height="200px" scrolldelay=" 10" scrollamount=" 1" onmouseover="this.stop()" onmouseout="this.start()">';
echo '<div style="width: 100%; overflow: hidden;">';
// end scrolling routine

global $sourcedir;   
require_once($sourcedir . '/Aeva-Subs.php');   
echo
aeva_listItems(aeva_getMediaItems($start, $max_number_of_pics,$sort, 'm.id_media'), false, '', 1);

//start scrolling routine   
echo'</div></marquee>';
//end scrolling routine


is there anyway to allow scroll control on mouse over?
example, i want to scroll down faster than the marq is going

2nd question can we make the images displayed a little larger?

thanks for all your help

Blue Steel

you can speed up the marq by decreasing scrolldelay and or increasing scroll amount

illusive817

yeh i got that to work , im talking about with my mouse over it , how can i add the ability to use the mouse wheel? with mouse over the block i mouse wheel down , and it goes down ?

Blue Steel

I don't know.. i only know how to stop it on mouse over (which is how its currently set up now)

I think you'd require another script.. or disable the marq script and then it'll make it into a scrollable box with the side scroll bar

illusive817

il see what i can come up with , thanks

illusive817

one last question , can the slide be set to pull images from new to old?

othg_weasel

Quote from: shane is my name on April 13, 2010, 11:13:30 PM
These are all great!. Thank you very much.
Is there something I can add to any of them to only pull images from one specified album?





Wow ask and you shall receive lol... It would be a great feature if you could get it to pull from only one album or say the featured album. Would something like that be possible?

shane is my name

Yep great feature!  I asked over in Noisens site and someone gave me the solution. 
Tried it in all 3 of my aeva scripts and it works very well...

For nearly any aeva code, just use the following:

echo aeva_listItems(aeva_getMediaItems(0, 9, 'RAND()', true, array(10)), false, 'center', 3);


The 0 is to offset the media, 9 is how many photos/videos,etc... 10 is the Album #,  3 is how many columns...

so for ALBUMS, just check the URL for the specified album (example: "media/?sa=album;in=10")...  this is my album that I only embed youtube videos... so if i want to have a block showing random videos (NO IMAGES), then I put "10" in the array field...

Also, if you want to select multiple albums, use the following code:

echo aeva_listItems(aeva_getMediaItems(0, 9, 'RAND()', true, array(3,5,7)), false, 'center', 3);

3,5, & 7 are the Album #'s (found in their url).

:)

othg_weasel

Awesome!! works great  :up:

Thanks everyone that helped :)

This website is proudly hosted on Crocweb Cloud Website Hosting.