The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
Increasing image upload size
Author Message
Reply with quote
Post Increasing image upload size 
I am designing an agora cart for a customer and have ran into a problem. The maximum upload size for images is 50k which is way to small for my customer. I've gone through each script trying to figure out how to make the image upload size for when you are adding a product larger, but haven't been able to do that. Would I need to write a custom php.ini like you have to do for wordpress?

View user's profile Send private message
Reply with quote
Post  
Hi busybee,

Welcome to the agora cart forum!

AgoraCart is written in perl, rather than php, so a php.ini implementation will be of no help.

The official recommended approach is to have the client optimize their images, or to use an FTP program (FileZilla etc) to upload the large images to the store/html/images directory. As I remember it, the max bytes is 131072, which is more like 130k, but that is between all images, so I suppose if you have 3+ images it would constrain the size that each could be to <50k

If neither of those things is possible,
the line you are looking for is in the library/cgi_lib.pl

If you choose to modify the file, be sure to make a backup, and to download and upload in ASCII mode.


_________________
Rachel
AgoraCart Project Team Developer

Get a Membership and join me in the Members Only forums!
View user's profile Send private message
Reply with quote
Post  
Sometimes the image upload size is limited by the web host, too.
If you are just starting to develop a store for the client, you may consider turning them on to v6 of AgoraCart.
It has a feature to automatically resize images, so only 1 image of the product would need to be uploaded.

The another option for the customer is to FTP their images using a FTP client.


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum