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

Image width/height don't work in embedded images #2390

Closed
fperez opened this issue Sep 7, 2012 · 3 comments
Closed

Image width/height don't work in embedded images #2390

fperez opened this issue Sep 7, 2012 · 3 comments

Comments

@fperez
Copy link
Member

fperez commented Sep 7, 2012

I saw that the Image function now has support for width/height, but in my attempts to use it it didn't work right. Looking at the generated HTML, it seems that the w/h tags aren't getting emitted for embedded images.

@stefanv
Copy link
Contributor

stefanv commented Nov 4, 2012

Currently, PNG's and SVG's have special renderers defined in outputarea.js. I'm not sure why images aren't simply rendered using _html_repr_, because that would: a) Allow us to do the base64 encoding in Python, not javascript and b) Make it trivial to incorporate width, height and any other meta-data (frame boxes, etc.).

See #2547

@ellisonbg
Copy link
Member

Can we close this one @minrk now that the formatters handler image height/width?

@minrk
Copy link
Member

minrk commented May 1, 2013

yes, this has been addressed.

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

No branches or pull requests

4 participants