RE: TEXMAP support added to the Parts Tracker
2018-12-02, 15:49 (This post was last modified: 2018-12-02, 15:50 by Merlijn Wissink.)
2018-12-02, 15:49 (This post was last modified: 2018-12-02, 15:50 by Merlijn Wissink.)
(2018-12-02, 15:38)Chris Dee Wrote:(2018-12-02, 15:10)Philippe Hurbain Wrote: Nothing urgent, but maybe large images would need some scaling? see
http://www.ldraw.org/cgi-bin/ptdetail.cg...13710g.png
For TEXMAP detail pages I have set the maximum display width for the image to 500px.
You have set a max-width on the <a> tag surrounding the image. That's fine, but now the image is cut off at 500px. If you add
max-width: 100%
height: auto
to the image tag itself, it will automatically scale (with a max of 500px)