Try the Demo

Magento Forum

   
Forum Attachments Aren’t Working (at least for xml files)
 
Scott
Guru
 
Avatar
Total Posts:  333
Joined:  2007-08-31
Northwest Ohio
 

I tried to upload an xml file for a user and it wouldn’t work. Are attachments only allowing images and zip files, or what’s the deal with that? I hadn’t testing any images yet. Maybe I’ll test on here.

...Okay, nope. Pictures (even under 500KB) aren’t working either.

 Signature 

Need a Magento designer? I specialize in helping developers and shop owners create Magento themes designed with aesthetic bliss, crisp refreshing style, and usability-focused design. Check out Tealo, the first public Magento theme!

Your Magento Partner for Stunning Creative Work!

 
Magento Community Magento Community
Magento Community
Magento Community
 
RoyRubin
Magento Team
 
Avatar
Total Posts:  968
Joined:  2007-08-07
Los Angeles, CA
 

We’ll take care of it.

 Signature 

Roy Rubin
Magento Team

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mark_Kimsal
Sr. Member
 
Total Posts:  186
Joined:  2007-09-12
Michigan, USA
 

I still can’t upload PNG attachments…

No error comes back, just the same page where you can edit your post.

 
Magento Community Magento Community
Magento Community
Magento Community
 
RoyRubin
Magento Team
 
Avatar
Total Posts:  968
Joined:  2007-08-07
Los Angeles, CA
 

png upload test ...

seems to work. Anything odd about the file (size or dimensions)?

Image Attachments
testfileupload.png
 Signature 

Roy Rubin
Magento Team

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mark_Kimsal
Sr. Member
 
Total Posts:  186
Joined:  2007-09-12
Michigan, USA
 

I’m trying to upload a very small byte PNG (73kb) that is a very large chart, 2061x1377 pixels.  If I save it as a jpeg it grows to about 458 kb.  I’ve tried uploading the jpeg, and scaling the image down by 80% and 50%.  The original png is only 8bit, when I resize or convert it to jpeg the resulting png or jpg is 16bit, this is why the file size increases so much.

EDIT:
I must’ve been too sleepy when resizing.  It seems to work at 2000 pixels wide (97% reduction).

But it still fails with no error message and without posting your comment if your image is too large (pixel-wise).  Either that or the PNG was constructed in some way that your image resizer cannot open it.

Thanks for the test image.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top