
12-08-2008, 05:36 AM
|
|
 | |
|
|
 X-Man
|
|
Join Date: Jan 2008
Posts: 2,613
|
|
|
Re: Working with Product Images - Let's improve it!
I got a private message with a good tip for this:
1. To have the ability to enter the dimensions of all images in a configuration page. For example:
- extra small thumbnails: 50 x 50 px
- thumbnails: 100 x 100 px
- fullsize: 600 x 600 px
- product page default: 300 x 300 px
2. It is not necessary to create and upload all the image sizes. Just upload the biggest ones. Then a resize PHP script with a unsharp filter effect will do everything. This Unsharp Mask should be configurated for every type of size (Amount, Radius, Threshold). All the small sizes will be generated automatically by this script.
So, could anyone help?
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)
You can catch my ideas here: http://ideas.x-cart.com
|
|