ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Image zoom script not working

April 29, 2011 4:03pm

Subscribe [2]
  • #1 / Apr 29, 2011 4:03pm

    johnciccolini

    25 posts

    Hi all,

    I’m very new to EE and in the process of figuring it all out.  I’ve come a long way but I’m stumped on one thing.  I have a template created and I have an image that I want to use a zoom script on.  I have the head of the document in an embed file.  This embed file is where I have the javascript for the zoom function.  I have created 2 custom fields - one for the regular image (product image) and one for the zoom image (zoom).  The code is below:

    <a href="http://{zoom}" title="{product_name}" class="cloud-zoom">{product_image}</a>

    For some reason I can’t get the script to work.  Can anyone help?

    Thanks in advance.

    John

  • #2 / May 02, 2011 3:38pm

    Sue Crocker

    26054 posts

    Hi, John.

    When you say the script doesn’t work, what do you mean?

    Are the zoom and product_image custom fields set to none, or perhaps are they set to XHTML which is the default setting?

    Do you have a link we can see?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases