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

Recent

Welcome to TinyPortal. Please login or sign up.

June 16, 2024, 11:54:21 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,242
  • Total Topics: 21,223
  • Online today: 180
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 148
  • Total: 148

[Block] Random Image Rotator [PHP]

Started by akulion, May 03, 2006, 02:09:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Techdomain

Are they both the same image type? or are thumbs all a different format (eg GIF) then the gallery images?

than

All images have jpg format.

Example:

Image 1= 1_08_11_06_1_11_21.jpg
Thumb 1= thumb_1_08_11_06_1_11_21.jpg

Reality12

this is an awesome script! did exactly what i needed. thank you!

Ry Perd

Thank you, did exactly what i needed it to do  :up:

spurry

Quote from: than on November 13, 2006, 07:38:02 AM
All images have jpg format.

Example:

Image 1= 1_08_11_06_1_11_21.jpg
Thumb 1= thumb_1_08_11_06_1_11_21.jpg

same here is there any eay around this?

nasir

Is there any way to increase the speed of the rotation.in my site the image does not get changed until i click and go to other page..I want an constant slide show,,,,how can i do that ?? pls  tell me

SMF 1.1.8
Tp 1.0.5

IchBin

The easiest way would be to make your images an animated .gif that does it all for you.

ZarPrime

Quote from: nasir on March 25, 2009, 08:10:07 PM
Is there any way to increase the speed of the rotation.in my site the image does not get changed until i click and go to other page..I want an constant slide show,,,,how can i do that ?? pls  tell me

SMF 1.1.8
Tp 1.0.5

That's not what this code snippet does.  From the first post in this topic ...

Quote from: akubear on May 03, 2006, 02:09:08 AM
Each time your page loads it will display a random image from your folder :)
And thats all - enjoy :)

If you want a slideshow script, you'll have to keep searching.

ZarPrime

Ianedres

Being that it is php-based, you could use a meta refresh tag in an IFRAME to time the loading of the script's image...  that would be a kludge, at best, to use this script to load over and over.

You would be better served using a Javascript slideshow, which as ZarPrime suggested, you could search and find one to your liking.

Eddy Matthews

This works perfectly, but one thing I'd like to add is to display the filename that is being shown - Is this possible?

Regards
Eddy