public function ImageDTO::getWidth in PhotoSwipe 3.x
Image width.
Return value
int Image width.
File
- src/
ImageDTO.php, line 227
Class
- ImageDTO
- Contains image item.
Namespace
Drupal\photoswipeCode
public function getWidth() {
return $this->dimensions[self::WIDTH];
}