Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image upload problems - Mac vs Windows

Status
Not open for further replies.

markbeeson

Programmer
Jun 14, 2003
19
NZ
I'm uploading images to my website using the following code:
If Not (filImage1.PostedFile Is Nothing) And filImage1.Value <> &quot;&quot; Then
postedFile = filImage1.PostedFile
Dim filename As String = getFileName(postedFile.FileName)
postedFile.SaveAs(sPath & Replace(filename, &quot;'&quot;, &quot;''&quot;))
End If

All works wonderfully but my client (who uses a Mac) reports problems when he uploads. I asked him to send the images so I could see what error messages come up.
No error messages but the image simply doesn't diplay once uploaded.
I opened the image in MS Paint and pressed 'save' - then the upload and display worked perfect.
Any ideas?!?!?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top