You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an image is added and is extended larger than the original copy (pixels are larger), when you clone a copy of the book, this image is no longer visible in the cloned book. The HTML clones over, but the image itself does not show (either in the visual editor or Preview). The image does exist in the book, but as its original size at time of upload in the original copy.
We think that this is happening because the book cannot render an image that is larger than the original picture. The HTML for the image includes the pixels; when pixels are removed, the image shows, meaning that the image itself is stored, but that particular size is not, because the book cannot stretch the image past the original.
Let's take the first example. In the cloned copy, the HTML for the image is there along with the size:
However, in the visual editor, the image does not render:
Steps to Reproduce
Upload an image, and change to a size larger than the original image uploaded
Clone the book
Check image in cloned book (on the book itself, and then in the editor)
Expected behavior: Book should have cloned over an image (either the larger size from the original copy, OR the image of the original size at max capacity)
Actual behavior: Image 'clones over' in the sense that the HTML shows, indicating that the image is technically 'there', but the image itself does not show.
System Information
The text was updated successfully, but these errors were encountered:
Prerequisites
Description
When an image is added and is extended larger than the original copy (pixels are larger), when you clone a copy of the book, this image is no longer visible in the cloned book. The HTML clones over, but the image itself does not show (either in the visual editor or Preview). The image does exist in the book, but as its original size at time of upload in the original copy.
We think that this is happening because the book cannot render an image that is larger than the original picture. The HTML for the image includes the pixels; when pixels are removed, the image shows, meaning that the image itself is stored, but that particular size is not, because the book cannot stretch the image past the original.
This bug is from this ticket (for reference): https://pressbooks.zendesk.com/agent/tickets/1559
This book was cloned from an original (a draft). In the clone, some of the images are missing.
Here are three examples:
Let's take the first example. In the cloned copy, the HTML for the image is there along with the size:
However, in the visual editor, the image does not render:
Steps to Reproduce
Expected behavior: Book should have cloned over an image (either the larger size from the original copy, OR the image of the original size at max capacity)
Actual behavior: Image 'clones over' in the sense that the HTML shows, indicating that the image is technically 'there', but the image itself does not show.
System Information
The text was updated successfully, but these errors were encountered: