Picture Editor

Return to the Index

osDate permits users to upload images, which can be viewed directly from the user profile using the "Pictures" link. The first image uploaded by the user is the default image for the profile. Depending on your version of osDate, the user may or may not be able to specify other images as the default profile image.

The "Pictures" link is unavailable if the user doesn't have the necessary user permissions to view profile images, or if they are not logged in.

The default profile picture that you see here is stored in the /images/ folder, and vary based on gender. They are: /images/male.jpg, /images/female.jpg, and /images/couple.jpg.

If you'd like to require administrative approval before users may upload images, you can specify that in the global settings tool (the top-most setting in the below screenshot). This may be named something else, depending on your version of osDate.

If admin approval is required, then a new option will appear in the admin toolbar, on the left-side: "Approve Pictures". Remember: if you don't see this link, then check to ensure that the "Pictures must be approved..." option is set to "Y" in the Site Settings.

If picture approval is set to "Y" in the global site settings, then the Approve Pictures tool will allow you to individually Approve or Reject each uploaded image.

Assuming that a user has permission to add and edit images, the "Manage Pictures" link in the User Panel will open this page. You may specify a different image for the main picture and for the thumbnail. Often users want the thumbnail to be a "close up" version of the primary photo. In this example, the thumbnail is a bit difficult to see, since the face is quite small.

To fix this , I've cropped the main picture to show only the face, and then re-uploaded the thumbnail alone. In the Manage Pictures tool, users can edit either the Main Picture, or the Thumbnail, and delete/re-uploaded either of these images independently. Here's what my result looked like:

The number of images that a user may upload is controllable in the Membership Management area of the osDate admin panel. You may specify that higher permission levels allow for a larger number of image uploads, for example. Or, you may allow users to create "albums" for categorizing their images.

Clicking on the "Edit Main Picture" or "Edit Thumbnail" button will open a Flash-based image editing tool, as shown here. This is a quick way to allow users image editing capabilities, who may otherwise not have the means to do so. For example, users who do not own an advanced image editor like Photoshop may find this tool useful.

The Flash image editor requires that images are non-progressive JPG files. It will attempt - using the PHP GD libraries - to make this conversion on the fly.

Special thanks to Michael Humphries for allowing use of his portrait for this tutorial!

Good luck,
Darren