Images / Bilder

Tutorials/image handling changes

.htaccess verweist bei allen image-anfragen an /core/oxdynimggenerator.php (via /getimg.php).

mich interessiert die FUNKTION resizeJpeg in /core/utils/oxpicgenerator.php (keine klasse!)

4.5.0 : OXPICSGENERATED is deprecated since then Image handling changes since 4.5.1

old: Tutorials/understand newbasepicture implementation, PDF: Automatische Bildgenerierung ab Oxid eShop 4.3.0

Diese 2 Methoden in application/models/oxarticle.php sind offenbar für Bilder-URLs zuständig:

  public function getMasterZoomPictureUrl($iIndex)
  public function getPictureGallery()

Die Methode getPictureGallery in den beiden Klassen

  
* application/components/widgets/oxwarticledetails.php
* application/controllers/detail.php

ruft auch nur die getPictureGallery auf.

Rückgabewert von getPictureGallery (Beispiel)(Array):

Array ( 
 [ActPicID] => 1 
 [ActPic] => http://78.46.107.196/oxid/out/pictures/generated/product/1/380_340_75/standard-13-18.jpg 
 [MorePics] => 
 [Pics] => 
   Array ( [1] => http://78.46.107.196/oxid/out/pictures/generated/product/1/380_340_75/standard-13-18.jpg ) 
  [Icons] => 
   Array ( [1] => http://78.46.107.196/oxid/out/pictures/generated/product/1/87_87_75/standard-13-18.jpg ) 
  [ZoomPic] => 1 
  [ZoomPics] => 
   Array ( [1] => Array ( [id] => 1 [file] => http://78.46.107.196/oxid/out/pictures/generated/product/1/665_665_75/standard-13-18.jpg ) 
 )
)
 
Nach oben
oxid/images.txt · Zuletzt geändert: 2024/02/29 13:36 von 127.0.0.1
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp   Dogecoin Donations Accepted Here    DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp  DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp