When you add an image under the add-ons tab for a blog post. It will then show that image on the blog post but creates a huge white space when the image is only 200 pix wide it creates a 900 pix box to put it in.. I can insert other images within the post and works great.. Just when we add the image within the add-ons tab... Just want to not show that add-on image within the post.. Any Ideas..
Try to open the following file:
design/themes/YOUR_THEME/templates/addons/blog/hooks/pages/page_content.pre.tpl
replace:
{if $page.main_pair}{include file="common/image.tpl" image_width="894" obj_id=$page.page_id images=$page.main_pair}{/if}
with
{* if $page.main_pair}{include file="common/image.tpl" image_width="894" obj_id=$page.page_id images=$page.main_pair}{/if *}
Then clear cache and check the result
Try to open the following file:
design/themes/YOUR_THEME/templates/addons/blog/hooks/pages/page_content.pre.tpl
replace:
{if $page.main_pair}{include file="common/image.tpl" image_width="894" obj_id=$page.page_id images=$page.main_pair}{/if}with
{* if $page.main_pair}{include file="common/image.tpl" image_width="894" obj_id=$page.page_id images=$page.main_pair}{/if *}Then clear cache and check the result
Perfect.. That worked... Thank You...