Hi, looking for something to be added to this image hosting site.
What do you think from its load and look.
Cheers
Hi, looking for something to be added to this image hosting site.
What do you think from its load and look.
Cheers
Like the design, a few things I would modify:
1) Blend the text boxes in with the template theme.
2) Create a custom "Browse" button with the same appearance as the "Upload"
3) Add a "Add upload box" button/text to create a new upload box on the page
Is it image Hosting or image codes for users ?
Are you going to allow users to store their images like photobucket ?
I uploaded an image (of a pretty girl). Now how do I go look at it after exiting the page and reentering ? Where is it saved ? tks![]()
You should announce that on the home page. it would more conducive to keeping visitors, would explain the purpose of the site. At first glance of the home page, it appears the images go into oblivion. Also the "huge blue (more) button" does nothing in mozilla. Edit: I was wrong. I just see what it does now! Guess it's too early for me.
I would also reduce the size of the header. That thing is huge too. The width is fine, but the height is excessive.
Thanks for the suggestion it was made huge for a reason but will think about that later. Adding a short description about the thing you mention announcing at the homepage.
Something like ~ Remember to take the URL code as there is no turning back.
Would that be ok?
Umm... ok added to homepage.
"Remember to save the image code after you upload as there is no turning back."
Last edited by wussadotcom; 10-29-2009 at 07:47 AM. Reason: Automerged Doublepost
That reminded me, possibly you could add a "your email" text box to the page which would be completely optional and added in your privacy policy. The email would strictly be used to send an email containing the image links the user just uploaded, then be forgotten.
Just a suggestion.![]()
I like the color scheme, the interface and the design in general, but I think you should get a proper, matching logo and not just colorized text.![]()
Nice design with minor and simple functions. Uses imageshack.us servers, and 3 years late to start an image host.
Unless you're getting 100s of uploads a minute; and the user elects for an email containing the links, no. There may be a setting of X emails per minute on your server, but they would just stack up in a queue until they're all sent. I doubt there would be a problem.
On the main page:
A seperate file, "validate-email.php"-- include it in your header (include "validate-email.php"Code:Email the links? Yes: <input type="checkbox" name="send_email" value="checkbox" checked="false">, Email Address: <input type="text" name="email_address">or include it into your functions file.
Somewhere in your PHP script where it echo's the link. Replace the variable $link with the one in your script.PHP Code:<?php
function check_email_address($email) {
// First, we check that there's one @ symbol, and that the lengths are right
if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) {
// Email invalid because wrong number of characters in one section, or wrong number of @ symbols.
return false;
}
// Split it into sections to make life easier
$email_array = explode("@", $email);
$local_array = explode(".", $email_array[0]);
for ($i = 0; $i < sizeof($local_array); $i++) {
if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) {
return false;
}
}
if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { // Check if domain is IP. If not, it should be valid domain name
$domain_array = explode(".", $email_array[1]);
if (sizeof($domain_array) < 2) {
return false; // Not enough parts to domain
}
for ($i = 0; $i < sizeof($domain_array); $i++) {
if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) {
return false;
}
}
}
return true;
}
?>
PHP Code:if($send_email) {
if(check_email_address($email_address)){
mail($email_address, "Your Image Links", "The links for your image are: $image_link_1, $image_link_2");
}
}
I think that would be a nice addition, I haven't seen it anywhere before and I always forget to save mine...![]()
Bookmarks