EffectCK and VirtueMart

More
7 years 1 month ago #45369 by ClaudioRomeo
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.

More
7 years 1 month ago #45370 by ced1870
Replied by ced1870 on topic EffectCK and VirtueMart
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

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

More
7 years 1 month ago #45380 by ClaudioRomeo

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.

More
7 years 1 month ago #45381 by ced1870
Replied by ced1870 on topic EffectCK and VirtueMart
ok please give me the url of the page where the css class is applied but not working

Joomlack Webmaster and Developer

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

More
7 years 1 month ago - 7 years 1 month ago #45385 by ClaudioRomeo
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: 7 years 1 month ago by ClaudioRomeo.

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

More
7 years 1 month ago #45386 by ced1870
Replied by ced1870 on topic EffectCK and VirtueMart
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

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

Time to create page: 0.281 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1300 guests and 4 members online