Home Page Image Size Limit in home text editor module - Ecommerce x PrestaShop - PrestaShop

Jump to content

Photo

Home Page Image Size Limit in home text editor module

#1

Posted 16 November 2012 - 04:34 PM

sosella

    PrestaShop Newbie

  • Members
  • Pip
  • 17 Active Posts
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?

#2

Posted 16 November 2012 - 05:44 PM

Dh42

    PrestaShop Native Modules Developer

  • US Moderators
  • 4539 Active Posts
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.

#3

Posted 16 November 2012 - 06:18 PM

sosella

    PrestaShop Newbie

  • Members
  • Pip
  • 17 Active Posts
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?

#4

Posted 16 November 2012 - 06:26 PM

Dh42

    PrestaShop Native Modules Developer

  • US Moderators
  • 4539 Active Posts
It should somewhat. I usually hardcode things like that in to be honest.

#5

Posted 16 November 2012 - 06:33 PM

sosella

    PrestaShop Newbie

  • Members
  • Pip
  • 17 Active Posts
I am a PS newbie. Do you know where I have to make that change? And what is the nature of the change?

#6

Posted 16 November 2012 - 07:39 PM

Dh42

    PrestaShop Native Modules Developer

  • US Moderators
  • 4539 Active Posts
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.

#7

Posted 16 November 2012 - 07:44 PM

clayton29657

    PrestaShop Addict

  • Members
  • PipPipPip
  • 646 Active Posts
:) prestashop may not care at all but you may care if your page opens slow. Just a thought is all

#8

Posted 16 November 2012 - 07:47 PM

Dh42

    PrestaShop Native Modules Developer

  • US Moderators
  • 4539 Active Posts
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.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more