Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Reduce filesize of images

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-16-2010, 01:52 PM
 
almenzies almenzies is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 66
 

Default Reduce filesize of images

does anybody know how to reduce the filesize of images on upload?

Xcart resizes images to fit certain dimensions, but if a novice user uploads an image thats 5mb it will significantly slow the speed of the page load as the browser will still have to download the full 5mb file.

Couldn't this be achieved using something like GD?

Cheers.
__________________
http://www.ergofurniture.com.au
X-Cart Version 4.3.1
Reply With Quote
  #2  
Old 02-16-2010, 03:58 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Reduce filesize of images

Yep, but I don't believe any of the modules that do this have been ported over to 4.3 yet. xcartmod.com has one, but it only works on 4.1 to my knowledge.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-17-2010, 01:56 PM
 
almenzies almenzies is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 66
 

Default Re: Reduce filesize of images

Thanks Balinor, so I guess there's no ideal solution right now, but I guess I can at least limit the file upload sizes under Administration > Images location.

That should at least prevent novice users from uploading huge files by accident!
__________________
http://www.ergofurniture.com.au
X-Cart Version 4.3.1
Reply With Quote
  #4  
Old 02-17-2010, 03:59 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Reduce filesize of images

Couldn't you just make a point to your providers about this issue, and make a link to an online image optimised filesize.

I use to do this on one of my sites and most users did use it and then you'll at least reduce the issue. (And save a bit)
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #5  
Old 02-17-2010, 04:47 PM
 
almenzies almenzies is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 66
 

Default Re: Reduce filesize of images

Hey Gizmo, good point - however in my experience as soon as you start asking people to perfom additional tasks then things go wrong!
__________________
http://www.ergofurniture.com.au
X-Cart Version 4.3.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:34 AM.

   

 
X-Cart forums © 2001-2020