Images
Assign up to twelve product images to products, which are displayed in the detailed view of the product.
Items have zoom images that can also be called up on the detail page. Specify globally or at category level or for individual products which type of zoom you want to use.
Smaller item images show the item in the item lists, in product boxes and in the shopping cart. All required image types are generated automatically. To optimize page load speed and user experience, specify the maximum image size and image quality.
Specify whether order confirmations should be sent with images.
Specifying image generation and quality
The required settings for image generation and image sizes are made for all products in the administration area.
Displaying basic settings
If required, check the version of the software that is responsible for the dynamic creation of images.
Procedure
Under Settings tab.
, choose theChoose Pictures.
Check the version of GDLib, the software on the server that generates graphics dynamically.
Check whether the automatic generation of icons is activated.
Leave both settings unchanged.
Specifying the image quality
If required, increase the speed at which pages are loaded in the browser.
Procedure
Under System tab.
, choose theChoose the Pictures section.
You have the following options:
Picture Quality: Specify the image quality when generating the images.
The default setting is 75 and is a good compromise between image quality and file size.
If the value is significantly lower, the product images are heavily compressed and therefore have a small file size, but poor image quality (blurring and compression artifacts).
If the value is greater than 75, the image quality increases, but so does the size of the file (longer loading times).
Automatically convert images to WebP format: Increase the browser speed.
To do so, automatically convert the images to WebP image format.
Sending order confirmations with pictures
Decide whether order confirmations should include images.
Background
E-mails with item images can quickly become large, which can lead to problems when sending and receiving the e-mails.
By default, e-mails are sent without item images.
The item images are loaded by the customer’s mail program when the e-mail is read.
Procedure
Under System tab.
, choose theChoose the Pictures section.
To send product images in the order confirmation, activate the Send e-mails with inline Images checkbox.
Optimizing image sizes
To optimize the speed at which pages are loaded, set the smallest possible image sizes. Your images are then scaled down to this maximum image size before loading by the browser.
The actual :emphasis:` displayed` size of the images for products and categories as well as the manufacturer and brand logos depends on the design of your OXID eShop. You define these values with your CSS.
Example
In our demo store, the images for displaying subcategories (Fig.: Category image of a subcategory) are downsized to a size of 400x300 pixels (Fig.: Example: Set maximum image size 400x300 pixels, item 1). This is the size that the browser would download on the end device.
The stylesheet in turn reduces the image to 62x62 pixels. This is the actual displayed (rendered) size compared to the intrinsic size of the image downloaded by the browser (Fig.: Rendered image size 62x62 pixels in the stylesheet, item 1).
The displayed intrinsic size of 300 x 300 pixels differs from the maximum size because it is a square image. In this case, the system uses the smallest side length as a basis, i.e. 300 pixels in this example.
Procedure
Under
, choose the theme.Choose the Settings tab and choose Images.
You have the following options for adjusting the image sizes:
Product picture size (width*height)
Product image that is displayed on the detail page.
Define the maximum size of up to 12 product images.
This allows product images of different sizes.
For each product image there is a line at the beginning of which is
oxpic
and a number.oxpic1
stands for the first product picture,oxpic2
for the second product picture and so on.Hint
Use different image sizes with caution.
Product images of different sizes could possibly lead to a rather unprofessional-looking presentation of the products.
Size of a subcategory’s picture (width*height).
Image for displaying subcategories in the category overview.
Name of the function:
category.getIconUrl
Name of the parameter:CatIconsize
Default size: 400 pixels wide and 300 pixels high.Category picture size for promotion on startpage (width*height)
Image for displaying the category overview. This image type is currently not used, but is retained to ensure downward compatibility, to enable future use and to allow you to integrate it into your own templates if required.
Name of the function:
category.getPromotionIconUrl
Name of the parameter:CatPromotionsize
Default size: 370 pixels wide and 107 pixels high.Category picture size (width*height)
Image of the category that is advertised on the start page.
This image type is not used in the current demo data. However, it is part of the APEX theme and can be used at any time (example: Fig: Category picture).
Name of the function:
category.getThumbUrl
Name of the parameter:sCatThumbnailsize
Default size: 1600 pixels wide and 500 pixels high.Icon size (width*height)
Icons are the smallest product images. They are used
in the shopping cart preview (minibasket) (Fig.: Icon in various functions, item 1)
in the shopping cart (Fig.: Icon in various functions, item 2)
as an image switcher (Fig.: Icon in various functions, item 3)
as image switcher for the modal zoom
for the size of the gift box
Name of the function:
article.getIconUrl
Name of the parameter:sIconsize
Default size: 100 pixels wide and 100 pixels high.Manufacturer’s/brand logo size
Logo that is displayed
in the brand overview on the start page (Fig.: Manufacturer/brand logo in various functions, item 1)
in the product overview per manufacturer (Fig.: Manufacturer/brand logo in various functions, item 1)
on the product detail page (Fig.: Manufacturer/brand logo in various functions, item 1)
Name of the function:
vendor.getIconUrl
Name of the parameter:ManufacturerIconsize
Default size: 100 pixels wide and 100 pixels high.Manufacturer’s/brand picture size
This image type is currently not used, but is retained to ensure downward compatibility, to enable future use and to allow you to integrate it into your own templates if required.
Name of the function:
manufacturer.getPictureUrl
Name of the parameter:ManufacturerPicturesize
Default size: 1140 pixels wide and 1140 pixels high.Manufacturer promotion Icon picture size (width*height)
This image type is currently not used, but is retained to ensure downward compatibility, to enable future use and to allow you to integrate it into your own templates if required.
Name of the function:
manufacturer.getPromotionIconUrl
Name of the parameter:ManufacturerPromotionsize
Default size: 370 pixels wide and 107 pixels highManufacturer’s/brand thumbnail size
This image type is currently not used, but is retained to ensure backward compatibility, to enable future use and to allow you to integrate it into your own templates if required.
Name of the function:
manufacturer.getPromotionIconUrl
Name of the parameter:ManufacturerThumbnailsize
Default size: 370 pixels wide and 370 pixels highThumbnail size (width*height)
Thumbnails are preview images and are displayed wherever products are listed, for example in
Product comparison pages
Item lists, such as category overviews and search results
Promotions (example: Just arrived!)
They can appear in grid view (Fig.: Thumbnails in grid and list view, item 1) or list view (Fig.: Thumbnails in grid and list view, item 2).
Name of the function:
article.getThumbnailUrl
Name of the parameter:Thumbnailsize
Default size: 500 pixels wide and 500 pixels high.Zoom picture size (width*height)
Enlarged display of modal product images that can be called up on the detail page.
Name of the function:
article.getZoomPictureUrl
Name of the parameter:ZoomImageSize
Default size: 1200 pixels wide and 1200 pixels high.