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

#   Proper way to set up a custom field as image?

##

- **[support@khoza.com](/forum/user/37284-support-khoza-com "View support@khoza.com's Profile")**
- [![support@khoza.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37284-support-khoza-com "View support@khoza.com's Profile") Topic Author
- [ Offline](/forum/user/37284-support-khoza-com)

Less More

- Posts: 4
- Thank you received: 0
-
-

11 years 2 weeks ago -  11 years 2 weeks ago [\#216810](#216810) by [support@khoza.com](/forum/user/37284-support-khoza-com "View support@khoza.com's Profile")  *[Proper way to set up a custom field as image?](/forum/25-install-update/879765-proper-way-to-set-up-a-custom-field-as-image#216810 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome  Hi,  I have added a custom field to categories, and set it to 'image' as its type. When I upload an image there and save, I get a broken image.  I also can't figure out how to get it to work on the front end correctly. I use 'echo $this-&gt;row-&gt;rowname' and it will display the name of the image.  I think I am missing something.  Thanks, Jesse  looks like I posted this in the wrong topic. Sorry about that.")* was created by *[support@khoza.com](/forum/user/37284-support-khoza-com "View support@khoza.com's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.5.20
-- Browser(s) name and version -- : Chrome

Hi,

I have added a custom field to categories, and set it to 'image' as its type. When I upload an image there and save, I get a broken image.

I also can't figure out how to get it to work on the front end correctly. I use 'echo $this-&gt;row-&gt;rowname' and it will display the name of the image.

I think I am missing something.

Thanks,
Jesse

looks like I posted this in the wrong topic. Sorry about that.

- [ ![Screenshot&#95;from&#95;2015-10-08&#95;12-54-47.png](/forum/attachment/26968) ](/forum/attachment/26968 "...8&#95;12-54-47.png") [ ](/forum/attachment/26968?download=1 "...8&#95;12-54-47.png")

Last edit: 11 years 2 weeks ago by [support@khoza.com](/forum/user/37284-support-khoza-com "View support@khoza.com's Profile").

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

- **[support@khoza.com](/forum/user/37284-support-khoza-com "View support@khoza.com's Profile")**
- [![support@khoza.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37284-support-khoza-com "View support@khoza.com's Profile") Topic Author
- [ Offline](/forum/user/37284-support-khoza-com)

Less More

- Posts: 4
- Thank you received: 0
-
-

11 years 2 weeks ago [\#216837](#216837) by [support@khoza.com](/forum/user/37284-support-khoza-com "View support@khoza.com's Profile")  Replied by *[support@khoza.com](/forum/user/37284-support-khoza-com "View support@khoza.com's Profile")* on topic *[Proper way to set up a custom field as image?](/forum/25-install-update/879765-proper-way-to-set-up-a-custom-field-as-image#216837 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome  Hi,  I have added a custom field to categories, and set it to 'image' as its type. When I upload an image there and save, I get a broken image.  I also can't figure out how to get it to work on the front end correctly. I use 'echo $this-&gt;row-&gt;rowname' and it will display the name of the image.  I think I am missing something.  Thanks, Jesse  looks like I posted this in the wrong topic. Sorry about that.")*

Found my solution in this thread after alot of googling ![:)](/media/kunena/emoticons/8.png ":)")

[ www.hikashop.com/forum/4-how-to/55834-up...as-custom-field.html](http://www.hikashop.com/forum/4-how-to/55834-upload-image-as-custom-field.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3OTc2NS1wcm9wZXItd2F5LXRvLXNldC11cC1hLWN1c3RvbS1maWVsZC1hcy1pbWFnZT90bXBsPW1hcmtkb3du) 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.204 seconds

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

[](#top)
