lolic0n Posted August 27, 2013 Share Posted August 27, 2013 Me and a couple of my friends from photographer school decided to go on vacation together to a city in Poland called Gdanks and we took a lot of pictures and had a lot of fun and all that good stuff. Anyways, so I made put up a little website that we are going to use for our presentation, and the other guys that I was with didnt understand how to log into the ftp shit and add the images manually, so I was wondering how I would go about making a form where they would upload the images directly from a upload page to a folder called something like /images/gdansk/ and then it would automatically show up on the site and there would also be an option to make it link to somewhere and make it have a name and description. At the moment it looks sort of like this: Source for each image: <td align="center" bgcolor="#ffffff"><a href="#"><img height="300" alt="" src="./upload/images/gdansk1/" width="300" border="0"></a><br> <strong><font color="#ff00ff" size="4">Picture <br>Day</font></strong><a href="./image1.html"></a></td> So I basically want to be able to upload a image, insert the image link inside the <img src=""> and be able to change the Name, Day and link. If you could help me out that would be great. Quote Link to comment https://forums.phpfreaks.com/topic/281612-need-some-help-with-a-problem-i-am-having/ Share on other sites More sharing options...
lolic0n Posted August 27, 2013 Author Share Posted August 27, 2013 Self bumping in the hope that someone will help me. Quote Link to comment https://forums.phpfreaks.com/topic/281612-need-some-help-with-a-problem-i-am-having/#findComment-1447055 Share on other sites More sharing options...
MDCode Posted August 27, 2013 Share Posted August 27, 2013 (edited) You will need to make a database named something like "images". In the database, include the link to the image, and everything you want to edit for that image. Then just make an edit form and use it to update the database. Edited August 27, 2013 by SocialCloud Quote Link to comment https://forums.phpfreaks.com/topic/281612-need-some-help-with-a-problem-i-am-having/#findComment-1447059 Share on other sites More sharing options...
jcbones Posted August 28, 2013 Share Posted August 28, 2013 There are a lot of different tutorials to upload files to the server via a form and php. http://http://www.google.com/search?q=php+image+upload+form If you get stuck on a particular area, we could help you further. If you are looking for someone to write the code for you, then you may need to head over to the freelance section of this forums. Hope this helps. Quote Link to comment https://forums.phpfreaks.com/topic/281612-need-some-help-with-a-problem-i-am-having/#findComment-1447089 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.