|
|
#11 |
|
Senior Member
|
Yes using shared hosting, am hoping to get it tested on live site sometime this week.
I've looked at several local classifieds that do the same thing whom I know are on shared hosting and this approach seems to work for them. I am aware that this approach will be effected by both size and quantity of photo's, but as of yet I haven't seen anyone attempt it on 68C so fingers crossed a good middle ground can be struck...
__________________
v4.08 |
|
|
|
|
|
#12 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 841
Rep Power: 21 ![]() |
As long as it doesnt try and upload all the photos in one hit it should be right(do one a a time)? Is this correct or not?
Nick
__________________
Nick Bowers 68c v4.09 Developer Custom Template |
|
|
|
|
|
#13 | |
|
Coder
Join Date: Mar 2006
Posts: 4,562
Rep Power: 111 ![]() ![]() |
Quote:
What concerns me is the amount of memory shared hosting allows php scripts to use. Ive covered this in great detail on the forums before but in short jpg images need to be uncompressed to be resized. A 1 megapixel jpg image when uncompressed uses about 8 meg of memory. Many hosts only allow 16mg of memory for php use so uploading 2 images would cause the script to run out of memory, white screen, game over. |
|
|
|
|
|
|
#14 |
|
All Hands On Deck
Join Date: Mar 2008
Posts: 1,191
Rep Power: 30 ![]() |
Clearly you know a lot about this Larry. What would you suggest? one photo at a time? You would seem to be advising that one photo is the most robust direction to take. I do not think it would be a big problem that a user uploads one photo at a time to the number allowed - as is the case now. For me it would just be nicer if we could get the process for an advert down to 2-3 steps maximum. It has to be robust though. That is the main point.
|
|
|
|
|
|
#15 |
|
Senior Member
|
I am testing a workaround for this issue which should completely avoid any of the server issues associated with resizing any image or uploading multiple images. This is not without its own limitations though, if it works great it not I may make a page as per current proces to handle images.
Once tested I'll post details.
__________________
v4.08 Last edited by free2take; 10-29-2008 at 10:23 AM. |
|
|
|
|
|
#16 |
|
Junior Member
Join Date: Jun 2008
Posts: 9
Rep Power: 0 ![]() |
A multi-image uploader works fine on shared hosting. Our site loads up to 21 images at a time. Not a big deal. Never any trouble with server overload. Guns For Sale @ GunCanyon.com
|
|
|
|
|
|
#17 | |
|
Coder
Join Date: Mar 2006
Posts: 4,562
Rep Power: 111 ![]() ![]() |
Quote:
Just because something works for you does not mean it works for everyone. Not all web servers are configured the same. |
|
|
|
|
|
|
#18 | |
|
Coder
Join Date: Mar 2006
Posts: 4,562
Rep Power: 111 ![]() ![]() |
Quote:
The ability for 68C to process uploaded images is not a limitation of 68C at all, but how PHP is configured on your web host. If you are on shared hosting and have no control over how much memory your PHP scripts are allowed to use then you are at the mercy of the host and must adjust things on your 68C site accordingly. 68C implemented pixel dimension checks in admin so that people could specify how large of an image(in pixel dimensions) could be uploaded. If a person does a little homework they can see what their web host has the memory_limit set to and set the pixel dimensions accordingly. If they fail to take advantage of this feature of the image class which I brought to light a while back they are setting themselves up to fail or have upload problems. Now if the upload script processes images one at a time and frees memory between them then it shouldnt be any more of a problem that the current single image upload method and thats good thing. free2take just need to make sure he understands how these things tie together so he can explain it to people using his mod because when people start having problems they are going to be marching with torches and pitchforks on his castle |
|
|
|
|
|
|
#19 |
|
All Hands On Deck
Join Date: Mar 2008
Posts: 1,191
Rep Power: 30 ![]() |
voting for Larry - one image at a time. Best to play it safe and keep a really useful module such as this one fully robust.
|
|
|
|
|
|
#20 | |
|
Junior Member
Join Date: Jun 2008
Posts: 9
Rep Power: 0 ![]() |
Quote:
I want the module for the shorter checkout processing. I would hope it has the multi image uploader built in already, or as an option. . Last edited by Tobzy2p; 10-29-2008 at 05:52 PM. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Page cannot be displayed during checkout | BigOrange | v3.1 Questions & Support | 3 | 08-29-2008 01:21 PM |
| Checkout Step 2 | atom | v4 Questions & Support | 7 | 07-01-2008 02:14 PM |
| Blank User Checkout Page | discguy | v4 Questions & Support | 4 | 05-04-2008 10:11 PM |
| Where is checkout.js? | civ | v3.1 Questions & Support | 2 | 06-24-2006 02:07 PM |
| Checkout Problems | GSP | v3.1 Questions & Support | 8 | 05-04-2006 05:16 PM |