The default size for thumbnails is 120x90. 120x90 is good for video gallery, but I also want to display bigger images on the front page (using views). So I want 120x90 in my gallery and 230x170 in front page.
On "Embedded Video" field I have only one option: "Image Thumbnail" (120x90). It will be grate to have more options here. For example: Image Thumbnail1, Image Thumbnail2, and Image Thumbnail3 - various sizes.
Thank you!
Comments
Comment #1
virtualdrupal commentedDid you ever have any luck with this one, I need the same fix...
Comment #2
virtualdrupal commentedFound a workaround, I'm sure there are better ways, but this one works for me right now at least...
I theme my views by printing the individual variables within somewhere like views-view-fields.tpl.php
so I used str_replace to pull the width and height from the variable of the thumbnail and replace it with new ones
For instance...
Becomes
I originally tried going through emvideo.module & emvideo.theme.inc and duplicating every instance of a function that worked with thumbnail, slightly changing the names to something like "thumbnailtwo", let me just say that I don't advise trying that as an alternate solution, no worky.
Comment #3
alex ua commentedI'm marking this as won't fix because the thumbnail functionality is getting rewritten and vastly improved in Drupal 6, and it can't be be backported since it's based off of the new filefield api. For now this workaround seems like your best bet.
Comment #4
virtualdrupal commentedI'm using this workaround on a d6 production site, only using emvideo with the built in thumbnail option. Should I be concerned that this future thumbnail change will break everything?