elzeleza Posted February 16, 2013 Share Posted February 16, 2013 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. Quote Link to comment https://forums.phpfreaks.com/topic/274564-need-help-setting-dynamic-php-image-slider/ Share on other sites More sharing options...
denno020 Posted February 17, 2013 Share Posted February 17, 2013 (edited) 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 February 17, 2013 by denno020 Quote Link to comment https://forums.phpfreaks.com/topic/274564-need-help-setting-dynamic-php-image-slider/#findComment-1412854 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.