Skip to main content

#30 Image file size and server space

Posted in ‘NorrCompetition’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
n/a

Latest post by ssnobben on Saturday, 25 February 2023 19:13 EET

Supporter

File size is very important for many reasons including speed and server space.

I noticed a file off 711ko (4000x2815 72dpi) was scaled to 1800px (standard size in global config) and now weights 2,07Mb !!

1

Would it be possible to include a service like ReSmush.it or TinyPNG?

PXLCompressor was a free Joomla plugin that is abandoned. Check it here in the Joomla Extension Directory

TinyPNG has a Developer API documentation page.

2

Files uploaded in the 'tmp' folder are not deleted and will use a lot of space...

They should be deleted after the resize or at least there should be an option in the global settings to delete them or not.

b2z

  1. That's how GD library works in PHP :( Please use ImageMagick instead of GD and you will feel the difference. Set ImageMagick in Images options. We will think about the services, probably it will be possible on the plugins level.

  2. The component clean up tmp folder automatically on every image saving. All files with modification time more than 1 hour are deleted. Just checked this on our test server - our tmp folder is clean from old files.

Supporter

Just checked now (4 days later) and the tmp folder is not empty.

ncuploads / photos / tmp

b2z

I do not have a clue why it's not working for you. We have several set ups and everywhere files are being deleted. You are using the component for a long time as I understand and you always  clean this folder manually?

b2z

Probably there were no changes in entry photos last 4 days? I mean clean up is happening if entry media is being updated.

ssnobben
Thks for info about "ImageMagick instead of GD"

Cheers!
Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.