Posted 16 November 2012 - 04:34 PM
I am using PS 1.4.9 . When I try to upload a 1.3MB image (animated PNG) using the Home text editor module, it says that the file size limit is 300KB. Why is this the case? How can I increase the limit?
Posted 16 November 2012 - 05:44 PM
Mainly I think because people don't want to download a file that huge. Plus that format is not supported by all browsers. http://en.wikipedia.org/wiki/APNG
No Ie, no Safari, no chrome.
Posted 16 November 2012 - 06:18 PM
Yes, I know that only firefox supports it, but can I increase the file size limit? Why would Prestashop care how big the file is?
Does Prestashop support Animated GIFs?
Posted 16 November 2012 - 06:26 PM
It should somewhat. I usually hardcode things like that in to be honest.
Posted 16 November 2012 - 06:33 PM
I am a PS newbie. Do you know where I have to make that change? And what is the nature of the change?
Posted 16 November 2012 - 07:39 PM
Ok, do this, open your modules/editorial/editorial.php file, on one of the first lines, it has the file upload limit see this screenshot http://screencast.com/t/2ckpdFjAESWF
change it to what ever you want it to be.
Posted 16 November 2012 - 07:44 PM
prestashop may not care at all but you may care if your page opens slow. Just a thought is all
Posted 16 November 2012 - 07:47 PM
Or the hosting company, when you are serving up a 1.3mb file, it doesn't take a lot of traffic for it to become a strain on a shared hosting environment.