Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > Graphics, Images, Logos Templates & CSS > Graphics, Images, Logos & Templates

Notices

Graphics, Images, Logos & Templates This is our newest forum dedicated to the above topics, please feel free to post any questions you have on the above topics in this forum. Also you may request templates or graphic in this forum.

Reply
 
Thread Tools
  #1  
Old 04-19-2009, 10:20 AM
Sergeant
 
Join Date: Feb 2008
Posts: 31
Default Can user uploaded pics be resized automatically?

Hi all
Basically my question is like the title. I'm still working on the site so there is nothing to show yet but I'm just asking if it's possible and if so how do I incorporate it. I'm using MySQL to store user info and content. If and when I get it up and running I don't want to have to use pixresizer (even though it's very easy) for every users pictures.
Hope you clever people out there can shed some light on this.
Must just say that every query I have posted has been quickly resolved and for this I am truly grateful....it's a duanting task starting website building at 50!!!

Regs

Ross
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 04-19-2009, 03:32 PM
zuriatman's Avatar
Major General
 
Join Date: Sep 2006
Posts: 2,326
Default Re: Can user uploaded pics be resized automatically?

Hi Ross,

There are a lot of members here who are past 60 here. Great grand Pa's and Great grand Ma's.

MySQL does not prepare the images for you. You have to do whatever yourself first before you send it for storage.

You can use scripts to limit the upload size for the pics.
Not all users are savvy enough to limit the size of their pics. They will try to upload whatever they have to upload and some may be the size of an elephant.

You will note that people like Facebook and Genie all have limits for upload and display.
__________________
www.siapamoyanganda.com/
Malaysian Family Tree Website From the
State of Johor.

HAPPY ARE THOSE WHO DREAM DREAMS AND ARE READY TO PAY THE PRICE TO MAKE THEM COME TRUE.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 04-19-2009, 03:40 PM
Sergeant
 
Join Date: Feb 2008
Posts: 31
Default Re: Can user uploaded pics be resized automatically?

Thank you for your reply Zuriatman. Glad to know I'm not the oldest student in the class.
So Javascript is the way t' go.....if I can find such a script, where would I embed it? on the form page?......not to worry, I'm sure the script writer will tell me what to do.
Thanks again

Ross
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 04-19-2009, 04:33 PM
Collectors-info's Avatar
General
 
Join Date: Feb 2006
Location: London (UK)
Posts: 7,537
Default Re: Can user uploaded pics be resized automatically?

Might be worth knowing what your aim is for the site as VH has some rules on file hosting, but in saying this! It hasn’t mentioned images. http://www.vodahost.com/web-hosting-tos.htm 2.3) File Hosting
It also might be worth mentioning that things will slow things down if large uploads are going to your site. Most sites operate a file size limit for partly this reason.
Would of thought it might actually be quicker to have pixresizer as a download & get users to reduce there files
1st as uploads are very much slower than downloads.
__________________
Regards Chris,
Sites are view in FF & IE, with res @ 1024 x 768 on 19” screens.

Barnet walks
How to ask for help on the forum. - VH prices. - BV Tutorials. - Using PIXresizer - Image/Photo Tips -
Collectables, Collecting


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 04-19-2009, 06:10 PM
Sergeant
 
Join Date: Feb 2008
Posts: 31
Default Re: Can user uploaded pics be resized automatically?

Good point Chris.....but I'm pretty sure the upload traffic will be minimal. No worries about file hosting or downloads, users will be uploading max 3 or 4 pics. I've read the TOS and I don't even come close to being naughty :o)
Is pixresizer available for user download?, if so I will definitly include it as an option because the program is so easy to use.

Thanks

Ross
BTW the site is a new/old fashioned twist on advertising if I ever get it finished!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 04-19-2009, 07:12 PM
Vasili's Avatar
General & Forum Moderator
 
Join Date: Mar 2006
Posts: 10,939
Lightbulb Re: Can user uploaded pics be resized automatically?

Yes .... you can hyperlink Text (such as "Get Picture Tool Here") or an Image (a graphical prompt) with the following link to allow Visitors to instantly download Pixsizer >> copy + paste this link ... right-click "Copy Shortcut" to get non-abbreviated link >> http://www.vodasupport.com/index.php...wnloaditemid=2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 04-19-2009, 07:36 PM
Watdaflip's Avatar
Major General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 2,151
Default Re: Can user uploaded pics be resized automatically?

You might want to look into a php script that can do some optimizing on the images are they are uploaded.
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 04-19-2009, 08:09 PM
Sergeant
 
Join Date: Feb 2008
Posts: 31
Default Re: Can user uploaded pics be resized automatically?

Many thanks Vasili, will put a link on my form page.

Watdaflip....No the images are not uploaded, I am still in the process of building the site. I would like the images to auto resize before I submit them to a database. When recalled they would not have to revert back to original size. Will look into php as well as js.
Thank you both for your help

Ross
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 04-19-2009, 08:40 PM
Vasili's Avatar
General & Forum Moderator
 
Join Date: Mar 2006
Posts: 10,939
Red face Re: Can user uploaded pics be resized automatically?

Quote:
Originally Posted by Porkmeister View Post
No the images are not uploaded, I am still in the process of building the site. I would like the images to auto resize before I submit them to a database.
No matter how you look at it, there will be a few manual steps you will need to take as you "process" your images to the server/DB. You may wish to explore different Editors, and if you can tweak the Contact Sheet function to standardize images and still be able to handle them individually (instead of being forever embedded to a single Contact Sheet).

Just an idea (or logic) to fiddle with ....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 04-19-2009, 09:47 PM
Sergeant
 
Join Date: Feb 2008
Posts: 31
Default Re: Can user uploaded pics be resized automatically?

Thank you Vasili....As long as I don't have to resize every picture manually I'll be happy. I'll sleep on it, my biological logic processor seems to work better during the night :o)

Thanks

Ross
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old 04-19-2009, 10:32 PM
Watdaflip's Avatar
Major General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 2,151
Default Re: Can user uploaded pics be resized automatically?

Quote:
Originally Posted by Porkmeister View Post
Watdaflip....No the images are not uploaded, I am still in the process of building the site. I would like the images to auto resize before I submit them to a database. When recalled they would not have to revert back to original size. Will look into php as well as js.
I may have misunderstood the process you are taking. Are you storing this information directly to the database using phpMyAdmin or a comprable desktop utility, or do you have a form on your website that is adding the information to the database? If it is the latter, you can have the form upload the image (your would just browse for it on your computer), and upload it when you submit the data. PHP is capable of resizing the image to a consistent size (keeping the aspect ratio), as well as reducuing the file size while keeping close to the same original quality.

Also Javascript isn't going to provide you with a solution to this. Javascript has no direct image manipulation capability, it can only modify the DOM for the image being displayed (change dimensions, apply filters, etc), but it can't save it after.

Hope that helps
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old 04-20-2009, 01:48 AM
Vasili's Avatar
General & Forum Moderator
 
Join Date: Mar 2006
Posts: 10,939
Thumbs up Re: Can user uploaded pics be resized automatically?

Quote:
Originally Posted by Watdaflip View Post
.... or do you have a form on your website that is adding the information to the database? If it is the latter, you can have the form upload the image (your would just browse for it on your computer), and upload it when you submit the data. PHP is capable of resizing the image to a consistent size (keeping the aspect ratio), as well as reducuing the file size while keeping close to the same original quality.
Thanks, CJ! That is just what the Doctor ordered, and gives Ross a definite direction to persue: "Forms"!!

Maybe you can also email Ross with an affordable solution, seeing as how you are much more adept than he is??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old 04-20-2009, 09:02 AM
Sergeant
 
Join Date: Feb 2008
Posts: 31
Default Re: Can user uploaded pics be resized automatically?

Thank you for your terrific help.....Once you guys get the bit between your teeth you don't give up.....I love it!!!
I have the form made and with the help of ABVFP I'm transferring the uploaded data directly to the database. I wondered why my lengthy javascript seaching last night didn't throw up much help. Plenty of trial scripts but the related forums were full of posts about bugs, tweaks and problems.
Will now pursue the php path, any suggestions where to look?

Ross
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 07:50 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203