![]() |
EZ Image Rotation Script!
I'm looking for an EZ to install image rotation script for my site. I want a new pic to show each time someone refreshes the page or visits the site. Got a script you can refer me to?
|
i'm interested in something like this as well :wetkiss
|
simple java will do that. Need it in java?
|
PHP Code:
PHP Code:
shows pic between 0-30 |
ok make a folder called "rimg"
lets say your domain is example.com so make a ew folder example.com/rimg/ then save the following as index.php Code:
<?php and call the random image like this <img src=http://yoursite.com/rimg/> |
fucking gfy fucks with the code hold on ill repost
|
Code:
<?php The benefit to using php instead of java is you dont have to manually write down every image name |
with my solution just make sure your pics are numbered.
No php needed browser does the work, not your server. But im not saying its better, just diffrent :winkwink: |
Quote:
There are times when you would want to use jave ( like if you had 3 banners to rotate through ) but if your doing a random "porn" pic , your prob going to want to add lots of pics making it cumbersome to use java. :winkwink: |
fucking-around-and-business-discussion/606545-script-rotate-images.html
last post for java version. works well for banner rotation |
Quote:
|
All times are GMT -7. The time now is 06:41 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123