View Single Post
  #1  
Old 12-07-2008, 10:36 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Cool Working with Product Images - Let's improve it!

I just spent a few days on the new 4.2 X-Cart beta version. They said we will have an easy way to work with product images, generating thumbnails. I was not impressed. Actually, yes you can create one thumbnail using GD library, but this will not help you anyway. Those who used a photo editor for resizing an image, can continue working in this way with better results. If you expect an alternative to Telefirma (who just dissapeared) module you will be dissapointed.

I would like to make the things easy, and with a little help from you, a small customization, being able to have an alternative to Telefirma module.

Let's tell you the steps:

1. When creating a product in Admin section, to be able to insert the following images:

- product_thumbnail - used when listing the product in a category (100 x 100)
- product_image - used as default image in product page (300 x 300)
- product_fullsize - used when the customer clicks on the default product image (600 x 600)
- product_xthumbnail - used as default image in "Customer who bought ..." area. (50 x 50)

2. Now, the detailed images:

- product_detailed_thumbnail - used as thumbnail for detailed image (50 x 50)
- product_detailed_fullsize - used when customer clicks on the thumbnail (600 x 600)
Also great to be able to order these images.

3. Let's use these images in Customer Frontend -> product page

- product_image (300 x 300) with link to product_fullsize (600 x 600)
- if exists detailed image, bellow the default product image to show all product_detailed_thumbnail (50 x 50) with links to product_detailed_fullsize (600 x 600)

For image sizes, you can decide if need to set up the values, or not (in X-Cart store configuration)

For showing the full size images I will use HighSlide JavaScript (http://highslide.com/) or other script (Lightbox, ...)

Can anyone help with this customization?

THANKS
__________________
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
Reply With Quote