I'm using the JqueryUI/Effects/Scale plugin to shrink/grow divs and the content inside. It works great for text and even embedded youtube clips, but doesn't scale images contained within. Is there a workaround for this?
Asked
Active
Viewed 927 times
2
-
1Is it supposed to scale images? [Look at this other thread about a different plugin.](http://stackoverflow.com/questions/1396279/jquery-ui-resizable-plugin-scaling-a-div-and-the-contents-within) – Sparky Jul 27 '11 at 19:25
-
1Adding a width="100%" attr to my images seems to work. Thanks! – Ben Jones Jul 27 '11 at 19:35
1 Answers
4
As per this other thread, using another UI plugin with a similar issue, the ultimate solution was to set the image size as a percentage.