[Skip to main content](#vessel-content)

#   Image on product page above the product name

##

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 2 months ago [\#123197](#123197) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Image on product page above the product name](/forum/2-general-talk-about-hikashop/84357-image-on-product-page-above-the-product-name?start=20#123197 "Can anyone tell me how I can add an image on the product page that would be above the product name and add to cart button, but below the breadcrumb, in other words, between the breadcrumb and product name?")*

If you created a custom field as he said, this field should appear in the product edition page.
So you can put the link in this field and then use it and call it in your view ![;)](/media/kunena/emoticons/24.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg0MzU3LWltYWdlLW9uLXByb2R1Y3QtcGFnZS1hYm92ZS10aGUtcHJvZHVjdC1uYW1lP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")**
- [![ahcopyart's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27667-ahcopyart "View ahcopyart's Profile")
- [ Offline](/forum/user/27667-ahcopyart)

Less More

- Posts: 118
- Thank you received: 3
-
-

13 years 2 months ago [\#123217](#123217) by [ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")  Replied by *[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")* on topic *[Image on product page above the product name](/forum/2-general-talk-about-hikashop/84357-image-on-product-page-above-the-product-name?start=20#123217 "Can anyone tell me how I can add an image on the product page that would be above the product name and add to cart button, but below the breadcrumb, in other words, between the breadcrumb and product name?")*

Yip, thanks for that, figured out what was meant. Once the custom field had been created, it shows right down the bottom of the Product Edition Page, this is where I put the live web address of my image. All works perfect ![:)](/media/kunena/emoticons/3.png ":)")

I'm starting to get the hang of this ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg0MzU3LWltYWdlLW9uLXByb2R1Y3QtcGFnZS1hYm92ZS10aGUtcHJvZHVjdC1uYW1lP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")**
- [![ahcopyart's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27667-ahcopyart "View ahcopyart's Profile")
- [ Offline](/forum/user/27667-ahcopyart)

Less More

- Posts: 118
- Thank you received: 3
-
-

12 years 5 months ago [\#158881](#158881) by [ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")  Replied by *[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")* on topic *[Image on product page above the product name](/forum/2-general-talk-about-hikashop/84357-image-on-product-page-above-the-product-name?start=20#158881 "Can anyone tell me how I can add an image on the product page that would be above the product name and add to cart button, but below the breadcrumb, in other words, between the breadcrumb and product name?")*

Hello, sorry to bring up an old thread but we have come across something unusual. We have several "Banner" custom fields that we set up and inserted them as an echo into the start of the show_default.php. Say we have 5 banners, one for each of the 5 products. We have the following code inserted:

&lt;?php
echo '&lt;img src="'.$this-&gt;element-&gt;document_printing_banner.'"/&gt;';
echo '&lt;img src="'.$this-&gt;element-&gt;plan_printing_banner.'"/&gt;';
echo '&lt;img src="'.$this-&gt;element-&gt;mail_merging_banner.'"/&gt;';
echo '&lt;img src="'.$this-&gt;element-&gt;file_preparation_banner.'"/&gt;';
echo '&lt;img src="'.$this-&gt;element-&gt;business_card_banner.'"/&gt;';
/**
* @package HikaShop for Joomla!
* @version 2.2.1
* @author hikashop.com
* @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/

We are getting a little "broken link" icon showing for the other 4 banners that don't display. When I use firebug to inspect the element, it is looking for an image called "/". What am I doing wrong, or how can I modify the inserted code to not show these icons?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg0MzU3LWltYWdlLW9uLXByb2R1Y3QtcGFnZS1hYm92ZS10aGUtcHJvZHVjdC1uYW1lP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 5 months ago [\#158933](#158933) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Image on product page above the product name](/forum/2-general-talk-about-hikashop/84357-image-on-product-page-above-the-product-name?start=20#158933 "Can anyone tell me how I can add an image on the product page that would be above the product name and add to cart button, but below the breadcrumb, in other words, between the breadcrumb and product name?")*

Hi,

Are you sure that all the custom fields are filled with a valid value ? The path to the image ?

To don't display anything if the path is not filled, you can add a check like: Code:

if($this-&gt;element-&gt;business_card_banner != ''){ echo '&lt;img src="'.$this-&gt;element-&gt;business_card_banner.'"/&gt;'; }

The following user(s) said Thank You: [ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg0MzU3LWltYWdlLW9uLXByb2R1Y3QtcGFnZS1hYm92ZS10aGUtcHJvZHVjdC1uYW1lP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")**
- [![ahcopyart's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27667-ahcopyart "View ahcopyart's Profile")
- [ Offline](/forum/user/27667-ahcopyart)

Less More

- Posts: 118
- Thank you received: 3
-
-

12 years 5 months ago [\#159097](#159097) by [ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")  Replied by *[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")* on topic *[Image on product page above the product name](/forum/2-general-talk-about-hikashop/84357-image-on-product-page-above-the-product-name?start=20#159097 "Can anyone tell me how I can add an image on the product page that would be above the product name and add to cart button, but below the breadcrumb, in other words, between the breadcrumb and product name?")*

PERFECT Xavier! Thanks again.

I put that code for each instance of the banner echo (with the different element names) and its perfect.

![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg0MzU3LWltYWdlLW9uLXByb2R1Y3QtcGFnZS1hYm92ZS10aGUtcHJvZHVjdC1uYW1lP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
