Jump to content

need help setting dynamic php image slider


elzeleza

Recommended Posts

How would you go about and what techniques would you use in making a site that's basically a one-page-dynamic-slideshow, where user uploads images, site resizes them via php, then based on server time, pulls different image each hour from a folder where user uploaded them.

Link to comment
Share on other sites

For a great tutorial series on using php to resize images, check out a YouTube user

(click the name for a link to the first video in a series of videos that cover image processing). If you're unable to learn it from the way he teaches, then basically you're not going to be able to learn it.

 

To check the server time, you can use the php function date() (http://php.net/manua...nction.date.php). Giving it a string representing how you want the date to be formatted, as you'll see in the documentation.

You can then check that each time your page loads, and then load up the image you want depending on the date/time.

 

That should be able to get your started :)

 

Denno

Edited by denno020
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.