Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trying download images as product -- please help.


mblond

Recommended Posts

I recently downloaded the Download_Controller Ver 5.0 Mod. (great mod!)

I have been able to get the download of text and pdf files working.

 

My problem is that an image file is actually being saved as a text file and as a result is corrupted and unusable. -- this based on the ie window that pops up to save it defines a text file and not an image file.

 

In Admin Panel --> Product Attributes

 

I set the filename to *.jpg and associate it with the correct

product. (no problems here)

 

There is no problem in downloading the actualy softgood, the problem

arises when an image is trying to be opened, image programs don't recognize the format since it was, evidently saved as text ?....

 

 

How do I differentiate between text and image downloads ?

 

Is there perhaps some variable that needs changing in download.php ?

 

Thank you

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...