Menu Content

Currencies Accepted

Shopping Cart

Your Cart is currently empty.

How to Download A Product

For most of our products, including the free ones, you will need to go through checkout and place an order.

Read More


Find Us Elsewhere

Follow us on Twitter

Spiral Scripts on Facebook

rapidssl_ssl_certificate is a worldwide leader in payment services
Home » Forum

Welcome, Guest
  • Page:
  • 1

TOPIC: Imgen Watermark Issues

Imgen Watermark Issues 6 days, 5 hours ago #529


I'm afraid I'm being a bit simple, but how do I get this plugin to work? I'm just trying to use Imgen and the Watermark plugin with the standard com_content component. I have installed both the plugin and component and enabled the plugin.

I have seen that I can use a different URL for the images within other components and modules, but do I need to do anything at all to get it to work with the core components?

Thanks for your help!

Garford JB

Re: Imgen Watermark Issues 6 days, 2 hours ago #530

I don't think that you are being simple.

The easiest way to use it with the Joomla core content component is to use the image resizer plugin:,viewdownload/.

This will resize your images automatically for you. If you don't want to do it automatically you can do it by changing the image url as with other components, in your article editor. If you have an image URL:


then you can alter the image url to


if you have set the default image path and width and height options then this could be shortened to


Re: Imgen Watermark Issues 5 days, 1 hour ago #531

Ah! Thank you Susan,

I've now managed to get it to work, but can I get the watermark to work automatically without resizing the image?

Thanks again!


Re: Imgen Watermark Issues 4 days, 5 hours ago #532

Unfortunately that is more difficult than perhaps it should be. The Imgen component allows you to output the image without resizing by supplying a width and height of 0, but the resizer plugin assumes that you will be resizing, and doesn't allow for a width or height of zero.

You would need to edit the code for the image resizer plugin to change the default values, in the imageresizer.xml file edit:-

		<field name="articleWidth" type="text" default="0" label="Article Image Width" description="IMGEN_ARTICLEWIDTH" />									
<field name="articleHeight" type="text" default="0" label="Article Image Height" description="IMGEN_ARTICLEHEIGHT" />

do that for all the width and height values.

and in the imageresizer.php file change all the default width and height values to zero, eg

		     $width = (int)$pluginParams->get('articleWidth','0');	
$height = (int)$pluginParams->get('articleHeight','0');
Last Edit: 4 days, 5 hours ago by Susan Boggler.

Re: Imgen Watermark Issues 4 days, 5 hours ago #533

Thank you Susan.

That was exactly what I had done to get around the problem. Works very well! Thank you!

Oh, one last thing, is it possible to change the resize dimensions depending upon whether the photo is landscape or portrait?

Thank you!


Re: Imgen Watermark Issues 4 days, 4 hours ago #534

Not at the moment, it is something to think about for the future. A lot of people seem to go with square thumbnails to get around this problem. The component should centre images that are cropped, so usually the results are OK.
  • Page:
  • 1
Time to create page: 0.75 seconds

VirtueMart Featured Products Grid

Switch View

A Flash puzzle game for the Joomla! content management system. This would be suitable for a site aimed at children.


This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.


A module extension for the the Joomla CMS. It plays a random list of mp3s using the Flash media player.

This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.