Opened 12 years ago

Closed 10 years ago

#10940 closed enhancement (fixed)

document how to set thumbnail size of a thumbnailPicker

Reported by: hungerburg Owned by: Shane O'Sullivan
Priority: high Milestone: 1.7
Component: Documentation Version: 1.4.2
Keywords: Cc:
Blocked By: Blocking:


There are two unanswered questions about this on the dojo mailing-list. The user-documentation is silent on it, while the somewhat documented public properties thumbWidth and thumbHeight of a thumbnailPicker instance will not work, which makes a false impression:

If, say, I wanted a thumbnail size different from 100x75, I may use css: to get thumbnails in size 144x96 pixels on any picker I will add to my stylesheet:

.thumbWrapper img { height: 96px; max-width: 144px; } .thumbOuter.thumbHoriz , .thumbHoriz .thumbScroller { height: 96px; }

you may anchor the css selector on an id or class to style different pickers differently. That took me some time to figure out, and as it seems to be a common feature missed, it might be good to have proposed in the

Change History (5)

comment:1 Changed 12 years ago by Adam Peller

Owner: set to dante

comment:2 Changed 12 years ago by dante

Owner: changed from dante to Shane O'Sullivan

comment:3 Changed 11 years ago by Maastermedia

Thanks. I've added your example to

comment:4 Changed 10 years ago by Maastermedia

I believe this ticket can be closed. If further enhancements are made to ThumbnailPicker? that can do different resizing we will add it to ref-guide. Example on how to resize images with CSS was added already 1.7 reference guide:

comment:5 Changed 10 years ago by bill

Milestone: tbd1.7
Resolution: fixed
Status: newclosed

Shane hasn't been active for a while so I'm going to close the ticket on your advice.

Note: See TracTickets for help on using tickets.