/    Sign up×
Community /Pin to ProfileBookmark

Building a photographer’s portfolio site

I am building a photographer’s portfolio site and the client would like to update their own site. I am building the site using XHTML and CSS.

One of the pages needed is a thumbnails page and I am wondering about creating this page so that the client can simply edit a text file in order to update this page. Is this possible without building a database? Is it possible to have the browser read let’s say a text file and load the images from the text file into the site. I am hoping the client would only have to upload the images and type in the path or url to the image in order for the site to work.

Is this possible?

Thanks.

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@phpnoviceApr 02.2005 — You can make it one step simpler by omitting the text file -- such that merely uploading a new image to a particular folder would automatically mean that the new image appears on the page in question.
Copy linkTweet thisAlerts:
@solomonApr 02.2005 — It can do better than that...

1) point the script at the right directory and it will count and read all the files you ask it to. You can then output the results in any manner you require. Thus negating the need to write a txt file - you just need to upload the images to the right folder. [URL=http://uk.php.net/manual/en/function.readdir.php]Read this[/URL]

2) do away with giving your client ftp access to their server (as this is often a very bad idea...? by sticking in a file upload script. [URL=http://www.phpfreaks.com/tutorials/36/0.php]Read this[/URL]

3) dispense with wasting time creating thumbnails yourself, get php to do it for you. [URL=http://uk.php.net/manual/en/ref.image.php]Read this[/URL]
Copy linkTweet thisAlerts:
@s1deusauthorApr 03.2005 — Thanks people. I will be reading through these links and testing out the ideas. Are there any sites that use these methods of creating php thumbnails?

Thanks again.
Copy linkTweet thisAlerts:
@solomonApr 03.2005 — The first thing that leaps to mind is Coppermine - the opensource photogallery application. You upload pictures (by ftp - easier when there's loads to do) and it resizes it to whatever you size you want. I use it on my personal site [URL=www.thrutch.co.uk/gallery]here[/URL]
Copy linkTweet thisAlerts:
@s1deusauthorApr 03.2005 — Thanks, I think this might be more appropriate for my client since there is support and a CMS.

Nice pictures and what a beautiful child!!!!

Thanks again.
Copy linkTweet thisAlerts:
@solomonApr 03.2005 — Gee thanks ? *blush* :o
×

Success!

Help @s1deus 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 5.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...