/    Sign up×
Community /Pin to ProfileBookmark

adding images to html page using PHP

Hello,

I am a webmaster for a website to which I frequently upload images. For the time beeing I am manually adding thumbnails to the website and manually creating links from the thumbnails to the full scale image. This is a pretty time consuming process, especially when you have a dozen pictures to upload.
The thumbnail creating process has been automized by a separate program but I now want to automize the other parts of the process, that is placing thumbnails on an HTML page and creating links from the thumbnails to the full scale images.
The thumbnails are to be placed in a table with 5 thumbnails on each row. Also for each section of tables the thumbnails are located in a separate folder.
I have heard from people that it is possible make some kind of script in PHP that automatically creates the html code required to display the images in the way i mentioned above. However I have never been using PHP so I do not have a single clue on how to do this. I am not brand new to programming though, I know how to write a line of code in C# and JAVA but PHP is all new to me. Can any of you guys help me out?

Here is the link to the website I want to modify: [url]http://www.futureidiots.com/pics/[/url]

Regards,

“Emret”

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@dzysyakMay 31.2007 — Why you do not want to use some kind of image gallery? Some of them are able to create thubs with links to the images. Bay be some of them can resolve your problem? Let me know if you need some links.
Copy linkTweet thisAlerts:
@EmretauthorMay 31.2007 — An image gallery might work, but I want to keep it simple. If you have some links, please provide them. Thanks!
Copy linkTweet thisAlerts:
@dzysyakMay 31.2007 — Not sure in your requirements. Try search on freshmeat.net If you will register and losin, than you will be able to filter search results by many parameters.

Take a look at the following 2 ones, it seem they do not require databse and quite somple.

http://freshmeat.net/projects/phpautogallery/

http://freshmeat.net/projects/mypictures/

Again - it is hard to suggest you something, hope you will select one that is right for you.
Copy linkTweet thisAlerts:
@EmretauthorMay 31.2007 — Yeah, they should work... but all I am looking for is a way to automize this page: http://www.futureidiots.com/pics/ instead of manually adding thumbnails and creating links I would like a simple PHP scipt that does it for me.
Copy linkTweet thisAlerts:
@dzysyakMay 31.2007 — Take a look at what I have sent you. Some of the galleries are extremely simple and you will need just to uload several scripts to your server, and than you will just uploading your images to the folders on the server. If you want your page look exactly like it looks now, you will need to request some custom programming or do it yourself. I do not think that somebody will post all the code here.
×

Success!

Help @Emret spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...