nik Posted July 14, 2020 Share Posted July 14, 2020 (edited) I am using the image slider addon (ps_image_slider), which comes out of the box with the prestasthop installation. I have just found out, that for some reason all the image banners, which I am uploading usind the module admin dialog are stored in the filesystem with much larger flie size than the original! For example, the original file size is 190kb, but the image stored in the filesystem is 500kb. I tried several times with several images. Does anyone have any clue why is this hapenning? I am running on 1.7.6.4 and image slider 3.0.1 (latest version) Thanks in advance. Edited August 31, 2020 by nik (see edit history) Link to comment Share on other sites More sharing options...
nik Posted October 20, 2020 Author Share Posted October 20, 2020 anyone? Link to comment Share on other sites More sharing options...
pierre0986 Posted January 18, 2021 Share Posted January 18, 2021 Hi, got the same issue. Did you find any solution? Link to comment Share on other sites More sharing options...
nik Posted January 19, 2021 Author Share Posted January 19, 2021 On 1/18/2021 at 3:52 PM, pierre0986 said: Hi, got the same issue. Did you find any solution? Expand The thing is, there is some resizing operation when you upload the image. This is core prestashop, or even core php, I don|t remember. But I did not want to touch the core code. The solution I found is not verz user friendly, but works. First I upload a slide using the module dialog. Then I check the file server. (e.g cpanel) The uploaded image file gets a weird, long filename automatically. I copy the filename and delete the uploaded image from the fileserver. I rename my local image file using the copied filename and upload it again, directly on the fileserver, not using the module dialog. The slide works without increasing the filesize, since I did not use the built-in prestashop/php upload mechanism but the one from the fileserver. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now