/    Sign up×
Community /Pin to ProfileBookmark

Image Gallery – photo page only

This may sound like a strange question but it’s something I’ve been mulling over and was just wondering if people could give me any supposed pros and cons of it.

Basically in my site user’s upload photos. Each user has a profile within which the photos they’ve uploaded can be displayed. The url for such a page at the moment is this:-

mysite.com/username/photos/7

With the number at the end being the id of the photo.

There is also a photos section where users can simply view photos posted by all users acting as a repository for all photos which uses urls like this:-

mysite.com/photos/7

However I’ve came across several sites that have a similar theme, most notably facebook which rather than show the photos relative to the author user’s profile at all instead they ONLY simply link to a photo.php page like this:-

facebook.com/photo.php?{variables related to photo, album and author get passed here}

They seem to do this for all photos i.e. they never do something like this:-

facebook.com/username?sk=photos&photoid=2

Is there any benefit/downsides in doing this the way they have done it and is it the best method? My idea was for photos to appear as if they are being displayed within the profile of the user who posted them rather than linking elsewhere to a photo.php page although admittedly such a page would make things easier.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@WyCnetFeb 11.2012 — You are are creating j+n divisions, where j=1, and being the division that is the sum of the n divisions. How do you map j to n and n to j, with the case of duplicates in mind?
Copy linkTweet thisAlerts:
@jimmyoneshotauthorFeb 11.2012 — Sorry I'm not familiar with the term. ? In what way exactly?
Copy linkTweet thisAlerts:
@jimmyoneshotauthorFeb 27.2012 — Can anyone else suggest anything on this?
×

Success!

Help @jimmyoneshot 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 4.27,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

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