Is it possible to offer viewers different options on how to view an image?

Currently, it just defaults to a flexslider that I have put as default on my image style.

Looking for instructions on how to achieve this functionality by using views.

I know there is a similar post here but that is WHILST creating the content type - I want the user to choose how to see a set of images after the images have been added to the website!

1 Answer 1


Use different view modes for your entity (node). Each view mode (also called a build mode) can have different template (.tpl.php) files. Use hook_entity_view_mode_alter to decide which view mode to use (based on your user's selection).

You can use the View Modes module to create custom view modes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.