May 13, 201313 yr Ok, I've gotten a website for a phone app, 4pics1word, and the game constantly updates, so therefor there is 500 more images to upload to my website, I've been typing link by link manually and it gets boring :/, What I wanted to do was find an easier way? Some sort of program that would scan the directory of the pictures and create the tags for me.. Or if someone would help me create a upload section and make it upload to a directory and input the tags to the correct page? Some advise here would be appreciated! And if you have a good answer that will work I will donate to you with respect.
May 13, 201313 yr You can just google for these kind of things Here are some examples: This might be to hard, but you can give it a look at least: http://www.webdeveloper.com/forum/showthread.php?101466-How-to-Upload-images-using-PHP Here is tutorial about a member site with a full picture album explained and showed: http://www.youtube.com/watch?v=geoF9fqQbKI&list=ECD541254296A82EEA This is a much shorter tutorial, this might be the best thing for you http://www.youtube.com/watch?v=r71WO_D1Das&list=EC10C2E583722F66E7 Goodluck
May 13, 201313 yr You can use something like Picasa and Google to make albums and share the album links on your website, but that is also a lot of work, so you can better type the img tags.... You might install something like a CMS on your server for better practice... I don't know any kind of software that would do that automatically!
May 20, 201313 yr lol I cant post my message its says I can't post links all the time... I also edited the code to make it do what you need but i cant even post the source code here... so google this: Scanning Folders with PHP nettuts the first link... and edit it to make it work as needed... very nice protection you got here, I can't help user because of this <?php $featured_dir = 'images/featured/'; $scan = scandir($dir); for ($i = 0; $i<count($scan); $i++) { if ($scan[$i] != '.' && $scan[$i] != '..') { if (strpos($scan[$i], '.jpg') !== false) { echo ' <a href="' . $featured_dir . $scan[$i] . '">' . $scan[$i] . '</a><br/> '; } } }; ?> ok somehow it worked place this between <body> tags and edit folder location as needed. code originally created by Jeffrey Way for Nettuts. Edited May 20, 201313 yr by NooBCube
Create an account or sign in to comment