#269

Section in the admin panel: Images → Product images (URL: /admin/pic_goods.php).

Access

Only firms with the goods_edit=1 right in the user profile, or firms in the BOX_FIRM list. Otherwise the menu item is not visible.

What you see

A list of products with previews of the current photos and an upload button. Drag-and-drop and multi-upload are supported.

Fields

Product
Picked from the Catalogue.
File
JPG/PNG/SVG. Recommended size 800×800 (square) or 1200×900 (4:3).
Preview (thumb)
Generated automatically.
Sorting
Number. For multiple photos — which one is first.
Main photo
Checkbox. The main one is shown in the product card.

Actions

  • Upload a new photo.
  • Delete an old one.
  • Change the order (drag).
  • Set as main.

What matters

  • Each file size — up to 5–10 MB.
  • Large files (>3 MB) load slowly for the client. Use optimised images.
  • For transparency use PNG (fittings). For textures — JPG (more compact).
  • SVG is sanitised on upload (unsafe tags are removed).