I have created 2 image-fields in my content type image-main and image-hover. The image-main is an album display and when you hover the album cover it must change to the image-hover.

How can I get this working.

1 Answer 1


yes, this is sounds good, you can nicely use the replacement pattern for the views, and there is nice tutorial for css3 hover effect you can use this. Click here After adding two field to your view hide the first image field and use the replacement pattern of the next field.In that replacement pattern you can put the variables as like bellow..this is just an example

<div id="cf">

then this two image will wrap with a div now you can add class name to the image tag as shown in the example.Hope this will help you.


Your Answer

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

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