Jump to content

[SOLVED] Trying the Image Cloaking but having problems.


Recommended Posts

I wrote a solution to handling image cloaking, here: Image Cloaking Forum Post

It works in PS 1.3.1 but in 1.2.5, I can't get it to work properly in product-list.tpl.
My solution works perfectly in product.tpl.

Was wondering why the inline style on the anchor is not being observed:


     class="product_img_link" title="69051">
 <!--  removed -->

       title="69051">
      69051  Hydraulic Crimp Head  Mfg: Amp Tyco  Condition: Used




      href="http://www.crimptools.com/beta/store/product.php?id_product=157">
     Amp Tyco Hydraulic Crimp Head is used to crimp Pre-Insulated Ampower,
     Ampli-Bond,Plasti-Grip and Copalum terminals and splice in various wire AWG.   
     Manufacturer:   AMP Tyco   Condition:   Used  





It also doesn't work if I place the background on the first anchor.


     href="http://www.crimptools.com/beta/store/product.php?id_product=157" 
    class="product_img_link" title="69051">
 <!--  removed -->

       title="69051">
      69051  Hydraulic Crimp Head  Mfg: Amp Tyco  Condition: Used





     Amp Tyco Hydraulic Crimp Head is used to crimp Pre-Insulated Ampower,
     Ampli-Bond,Plasti-Grip and Copalum terminals and splice in various wire AWG.   
     Manufacturer:   AMP Tyco   Condition:   Used  





Link to test Store

YES, the image does exist in the correct folder.

You can see that things work great in product.tpl by clicking on one of the product
links and seeing the source produced by product.tpl.

Link to comment
Share on other sites

OK, first, you have to add a width/height value to the anchor's inline style.
Then you need to make sure that the transparent GIF in front of the anchor
is actually transparent and replace the image with the transparent GIF:




Have fun...


     href="http://www.crimptools.com/beta/store/product.php?id_product=157" 
    class="product_img_link" title="69051">



     href="http://www.crimptools.com/beta/store/product.php?id_product=157" 
    class="product_img_link" title="69051">
 <!--  removed -->
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...