How can I add an image to my product info page?
I don't mean an addtional product image; this image is my logo to be on all the product info pages on the right side of the product since their is a blank space there.
I'm using the latest version
How can I add an image to my product info page?
I don't mean an addtional product image; this image is my logo to be on all the product info pages on the right side of the product since their is a blank space there.
I'm using the latest version
it would be added in your:
l/includes/templates/CUSTOM_TEMPLATE/templates/tpl_product_info_display.php file:
to pull your logo with a link to home page add:
to pull just your logo add:Code:<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
hope this helps!Code:<?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?>
Great, thanks for the reply.
I see my logo displayed underneath the product image, but I would like it to appear on the right side of the image. Also, the logo I want to display is not the same one as in my header, but it is located in my images folder.
to pull an image from images/ with a link to home page add:
to pull just an image add:Code:<a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG ?>"><?php echo zen_image(DIR_WS_TEMPLATE.'images/YOUR_IMAGE'); ?></a>
I will need a link to site to make suggestion on moving image to right.Code:<img src="<?php echo DIR_WS_TEMPLATE ?>images/YOUR_IMAGE" />
http://kamskungfucinema.com/zencart/...&products_id=1
I want the image to occupy the blank area to the right of the dvd
1st. Wrap the following around the code for the image:
<!--bof Product Info MyImage-->
<div class="productInfoMyImage">
</div>
<!--eof Product Info MyImage-->
Ok...I'm not sure what you mean by "wrap it around".
The url code for my image should go in the middle?
<!--bof Product Info MyImage-->
<div class="productInfoMyImage">
<img src="<?php echo DIR_WS_TEMPLATE ?>images/YOUR_IMAGE" />
</div>
<!--eof Product Info MyImage-->
Ok, awesome my image is finally up there. It's still too low though and underneath my product. If I could just move it up and too the right
http://kamskungfucinema.com/zencart/...&products_id=1
wow, ok - need to trim the whitespace around actual image.
I see where you are going with this, really cool ideal but have to trim image down. I trimmed it, I sending it to you in a pm. upload it to replace current. I didn't change or alter just trimmed the white space.