Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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.

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

We’ll take care of it.

 
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
Enthusiast
 
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
 
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