Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

Imgen watermark plugin

  • eniko
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 years 11 months ago #500 by eniko
Imgen watermark plugin was created by eniko
I use vm2.x and i would like to use imgen watermark plugin, but i don't find the place, where i put this line: $imageurl = 'index.php?option=com_imgen&format=image&img='.$imageurl;
because the vm version is not correct, but i think there are any idea to i do it.

Thank you

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

More
6 years 11 months ago #501 by boggler
Replied by boggler on topic Imgen watermark plugin
For the main product image you would need to edit or override the image template file, com_virtuemart/views/product/tmpl/default_images.php

edit lines 23 to 24
if (!empty($this->product->images[0])) {
    ?>

insert the line
if (!empty($this->product->images[0])) {
$this->product->images[0]->file_url = ''index.php?option=com_imgen&format=image&img='.$this->product->images[0]->file_url;
    ?>

I have not had a chance to test it but I believe it should work.

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

Moderators: boggler
Time to create page: 0.190 seconds

Donate to Us

If you like our extensions, consider making a donation to say thanks.