Support #37739
Image Effect in other way?
| Status: | New | Start date: | 2012-06-05 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| Votes: | 0 |
Description
Hello Till,
it is possible to switch the image effect?
Now all images renders normal, and the image effekt will show, if the mouse is over the image. I need it in other way. I want all images in grayscale (image effect) and if the mouse is over an image, it should look normal. How I can do this with your extension?
Your extension is very good, thank you
Björn
History
Updated by Björn Paulsen 12 months ago
- % Done changed from 0 to 100
Ok, I found a solution:
Inserting this in setup and the hover effect is like i want:
tt_content.image.25.rendering.dl.imgTagStdWrap.preUserFunc.params = class="{$plugin.tx_mouseoverimages.mouseoverAppearClass}"
tt_content.image.25.rendering.ul.imgTagStdWrap.preUserFunc.params = class="{$plugin.tx_mouseoverimages.mouseoverAppearClass}"
tt_content.image.25.rendering.dl.imgTagStdWrap.dataWrap=<dt>{register:overlayimage}<span class="{$plugin.tx_mouseoverimages.mouseoverHideClass}">|</span></dt>
tt_content.image.25.rendering.ul.imgTagStdWrap.dataWrap={register:overlayimage}<span class="{$plugin.tx_mouseoverimages.mouseoverHideClass}">|</span>
Updated by Till Korten 12 months ago
Björn Paulsen wrote:
Ok, I found a solution:
Thanks for your solution. I'll integrate that into the code as soon as I have time.
Updated by Björn Paulsen 12 months ago
Sorry, it is only a half soloution. The links (click enlarge etc.) don't work with this patch
Updated by Till Korten 12 months ago
I'll look into it. Please let me know if you find another solution.
Updated by Björn Paulsen 12 months ago
I found this solution:
This work!