Skip to content
New issue

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

Timeline background image aspect ratio not preserved when using auto mode for top/bottom boundary #1415

Open
saekow opened this issue Jul 28, 2015 · 0 comments

Comments

@saekow
Copy link

saekow commented Jul 28, 2015

Timeline height in auto mode for top/bottom boundary appears to increase when a background image is set.

1- Here is "Timeline A" that I would like to set a background image:
screen shot 2015-07-27 at 11 19 22 pm

Location of this test timeline:
http://www.chronozoom.com/Roland#/t40977d19-48bb-4a6d-b4ef-00fcb2f0cde8/tbde512ef-b96d-441b-a5da-555e6b4e0e24

2- Since I won't add any more sub timelines or exhibits inside this timeline, the aspect ratio of this timeline will be fixed. So to make sure I apply a suitable background image with the same aspect ratio, I take a screen shot cropped to the timeline borders and paste it into Photoshop:
screen shot 2015-07-27 at 11 21 08 pm

3- I paste a photo as Layer 2 on top of the screenshot on the same canvas:
screen shot 2015-07-27 at 11 21 58 pm

4- I save the background image and upload to imgur: http://i.imgur.com/ZJDhe9O.jpeg

5- I paste the imgur URL into the background image URL field:
screen shot 2015-07-27 at 11 23 18 pm

6- After I update the timeline and refresh the page, the background image has been applied, but the aspect ratio is not preserved. The timeline height got increased in auto mode even though no additional subtimelines or exhibits were added:
screen shot 2015-07-27 at 11 23 49 pm

Here is the input background image for comparison.
Since the background image was created with the same aspect ratio as the timeline, the expected behavior is the image should not be distorted.
test
Observed: The timeline height increased once a background image URL was applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant