EffectCK and VirtueMart

EffectCK and VirtueMart was created by ClaudioRomeo

Posted 6 years 6 months ago #45369
Céd, your Effect CK Params is really GREAT!
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.

Replied by ced1870 on topic EffectCK and VirtueMart

Posted 6 years 6 months ago #45370
Hi

Céd, your Effect CK Params is really GREAT!

thanks, happy to read this :)

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

by ced1870

Please Log in or Create an account to join the conversation.

Replied by ClaudioRomeo on topic EffectCK and VirtueMart

Posted 6 years 6 months ago #45380

for VM, you shall have the possibility to add a css class on your image in the VM options

Yes. As you can see in VirtueMart_1 image I assigned the proper effectck class, but it doesn't work.

As you can see in VirtueMart_2 image, the class is loaded, but no effect is shown.

or use a template override

Sure, this works. But it forces me to modify the override whenever I need to change the effect o the params. What a mess!

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

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.
Thank you.

Counselor for better people in a better company

Attachments:

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic EffectCK and VirtueMart

Posted 6 years 6 months ago #45381
ok please give me the url of the page where the css class is applied but not working

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by ClaudioRomeo on topic EffectCK and VirtueMart

Posted 6 years 6 months ago #45385
Here is the URL.
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

Last Edit:6 years 6 months ago by ClaudioRomeo
Last edit: 6 years 6 months ago by ClaudioRomeo.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic EffectCK and VirtueMart

Posted 6 years 6 months ago #45386
there is a space at the beginning of the css class

try to edit this file
testsrp.it/media/plg_system_imageeffectck/js/imageeffectck.js
replace
Code:
$("img[class^='effectck']
with
Code:
$("img[class*='effectck']

see if it works

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.699 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1004 guests and no members online