For the first question, you can implement the fieldname__htmlValue() method in the delegate class for your image field and specify a larger width for the image.
e.g.
- Code: Select all
function fieldname__htmlValue(&$record){
return '<img src="'.htmlspecialchars($record->display('fieldname')).'" width="400"/>';
}
This should affect the display in the view tab, but won't change the width in the edit tab (that is fixed).
Another way you could look at is by using CSS. Just look at the HTML for the images, and figure out a CSS rule that will modify the image width.
For allowing your users to rotate the images, there are two strategies:
1. Use the PHP GD Image functions.
2. Use Javascript (e.g.
http://code.google.com/p/jquery-rotate/)
Depending on how interactive the interface needs to be, this could be trivial, or quite involved.
-Steve