I have a views_slideshow that pulls cck image_fields... but sometimes the height is larger than width so the Thumbnail Pager is all the way at the bottom initially and looks goofy...
solution is to only pull Landscape mode pics...

not sure how to "Filter" this... would be nice if {files} had the cck field orig width and height or possibly set up a "Relationship"? and look at the imagecache fields width and height maybe?
i dunno, just throwing stuff out there...

Any ideas?

Comments

arhak’s picture

install imagecache_actions

there is an "Aspect switcher"

Use different effects depending on whether the image is landscape of portrait shaped. This re-uses other preset definitions, and just chooses between them based on the rule.

armyofda12mnkeys’s picture

dont think this is what i want... if i have a listing all rectangular images... and suddenly there's a vertical one... it looks like i can use this imagecache action to choose a certain other Imagecache preset if that is the case... but then that image will just be rotated on my page correct and user must turn head sideways to see what it is... id rather just make the image not show up at all in what my View pulls

for now, ill put the slideshow's pager on the top so won't get kicked down further since portrait images will goof it... would be nice to set in the Filter->File section in Views, a column which has if the image is landscape or portrait. then can do what i want. will look into custom module