If you use the build in Image upload with
{joodb image} and
{joodb thumb} you should use the class names
database-thumb and
database-image
Don't add style commands to the template!
In file
/media/joodb/css/joodb.css you find the following entry
.database-thumb, .database-image { background: #ffffff; border: 1px solid #ddd; padding: 2px; border-radius: 4px; box-shadow: 2px 2px 5px #666666; height: auto; }
Copy
/media/joodb/css/joodb.css to
/templates/YOUR_TEMPLATE/css/joodb.css and edit the file!
.database-thumb, .database-image { background: #ffffff; border: 1px solid #ddd; padding: 2px; border-radius: 4px; box-shadow: 2px 2px 5px #666666; }
.database-thumb { with: auto; max-height: 100%; height: 70px; }
.database-image { with: auto; max-height: 100%; height: 160px; }
Don't use the the way to display images the like demo database!
You can also set the maximum scale height and width for thumbnails and images in the jooDB settings!