EffectCK and VirtueMart
- ClaudioRomeo
- Offline Topic Author
- Platinum Member
- Posts: 369
- Thanks: 12
It was exactly what I was waiting for.
Unfortunately I still can't figure how to assign an Effect CK class to the MAIN image of a VirtueMart product.
With normal images (for example, the ones in the product description), Image Effect CK works fine. But with the main image the effects is lost, even if the class is correctly applied.
You can find an example here .
I know that this probably is a VirtueMart matter, so no problem if you have no time to come to a solution.
But if someone already knows how to fix this issue, I will really appreciate the sharing of information.
Counselor for better people in a better company
Please Log in or Create an account to join the conversation.
thanks, happy to read thisCéd, your Effect CK Params is really GREAT!
for VM, you shall have the possibility to add a css class on your image in the VM options, or use a template override
I have in mind to add an option that would allow a specific css selector to be used also to target the needed images. But this does not exists for now
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- ClaudioRomeo
- Offline Topic Author
- Platinum Member
- Posts: 369
- Thanks: 12
Yes. As you can see in VirtueMart_1 image I assigned the proper effectck class, but it doesn't work.for VM, you shall have the possibility to add a css class on your image in the VM options
As you can see in VirtueMart_2 image, the class is loaded, but no effect is shown.
Sure, this works. But it forces me to modify the override whenever I need to change the effect o the params. What a mess!or use a template override
I'm not sure to realize what you mean and if it would be useful with VirtueMart. Anyway the work done is (very) good enough.I have in mind to add an option that would allow a specific css selector to be used also to target the needed images. But this does not exists for now
Thank you.
Counselor for better people in a better company
Please Log in or Create an account to join the conversation.
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- ClaudioRomeo
- Offline Topic Author
- Platinum Member
- Posts: 369
- Thanks: 12
testsrp.it/index.php/sport/boxe/rex-detail
You can see that the effect on the image in the product description works vell. The main image doesn't.
Thank you.
Counselor for better people in a better company
Please Log in or Create an account to join the conversation.
try to edit this file
testsrp.it/media/plg_system_imageeffectck/js/imageeffectck.js
replace
see if it works
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.