View Single Post
  #17  
Old 08-29-2008, 08:30 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: Dynamic Images - a FREE mod for image resizing!

Quote:
Originally Posted by Darryl
Hi,

A couple of questions.

Where do I find the watermarking feature (I did try).

Would it be possible to add "Click to enlarge" or something to that effect below the product image so people are aware they can access the detailed image.

Thanks

Hi Darryl, here you go

Code:
{thumb file="images/D/variant_chart_Example-1_live.jpg" width=500 hint=false overlay="images/famguystewie.png" overlay_position=5 legend="Click to Enlarge"}

The image generated from this code is attached.
The "Click to Enlarge" bit is better done as suggested by PCParts, as you can style it his way. This example is just to show what is possible regarding what you requested.

Just a note, overlay_position=5 sets the overlay image to the center. Your options are 1-9 (starting from top left).

Additionally, to give people a "hint" that they can click to expand the image, you can set hint=true (or remove the reference completely, as I believe default is true), which will add a magnifier glass to the lower right of your image.

You can view the comments at the top of the file in include/templater/function.thumb_imp.php, to find out more about what's possible.

EDIT: Using my method (the default thumb_imp method), you can only submit a .png file as an overlay image
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote