We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
can we add specialchars to the imageData to catch double quotes in image descriptions?
/** * prepareImageData * * helper to prepare all data for image template * * @param PageImage $image * @param array $options * @return array */ protected function prepareImageData(WireData $image, $options = []) { $imageData = $image->getArray(); $imageData['url'] = $image->url; $imageData['width'] = $image->width; $imageData['height'] = $image->height; $imageData['alt'] = $imageData['alt'] ?: htmlspecialchars($imageData['description']); $imageData['thumbImage'] = $this->resizeImage($image, $options['imageResizerOptions']); $imageData['loresImage'] = $this->resizeImage($image, $options['loresResizerOptions']); return $imageData; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
can we add specialchars to the imageData to catch double quotes in image descriptions?
The text was updated successfully, but these errors were encountered: