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

#   Customer Picture (Image) - Custom Field

##

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

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 1 month ago [\#124019](#124019) by [Carvalho](/forum/user/12305-carvalho "View Carvalho's Profile")  *[Customer Picture (Image) - Custom Field](/forum/33-customers/862107-customer-picture-image-custom-field#124019 "-- url of the page with the problem -- : http://localhost -- HikaShop version -- : Business - 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : Mozilla FireFox - V24 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  What i wanted to do was to have the customers picture/avatar on the registration page, and then show it on the profile page. So i created a custom field for the customer of the type 'image' and on the registration (or the backoffice costumer edit page) i upload an image, so far so good.  But when i re-edit the customer profile on the backend or on the frontend, the only thing that appears is the name of the image i uploaded, and not the  itself..  On the customer database table the content of the field is indeed (only) the name of the image i uploaded.  I wonder if Hikashop really uploaded the image, and where does it go.. I searched on the 'media/hikashop' folder, but without success.  Can you help me please.  Thanks Pedro")* was created by *[Carvalho](/forum/user/12305-carvalho "View Carvalho's Profile")*

-- url of the page with the problem -- : http://localhost
-- HikaShop version -- : Business - 2.2.1
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.4.19
-- Browser(s) name and version -- : Mozilla FireFox - V24
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi,

What i wanted to do was to have the customers picture/avatar on the registration page, and then show it on the profile page. So i created a custom field for the customer of the type 'image' and on the registration (or the backoffice costumer edit page) i upload an image, so far so good.

But when i re-edit the customer profile on the backend or on the frontend, the only thing that appears is the name of the image i uploaded, and not the &lt;img&gt; itself..

On the customer database table the content of the field is indeed (only) the name of the image i uploaded.

I wonder if Hikashop really uploaded the image, and where does it go.. I searched on the 'media/hikashop' folder, but without success.

Can you help me please.

Thanks
Pedro

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NjIxMDctY3VzdG9tZXItcGljdHVyZS1pbWFnZS1jdXN0b20tZmllbGQ/dG1wbD1tYXJrZG93bg==) 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)
-

13 years 1 month ago [\#124065](#124065) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Customer Picture (Image) - Custom Field](/forum/33-customers/862107-customer-picture-image-custom-field#124065 "-- url of the page with the problem -- : http://localhost -- HikaShop version -- : Business - 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : Mozilla FireFox - V24 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  What i wanted to do was to have the customers picture/avatar on the registration page, and then show it on the profile page. So i created a custom field for the customer of the type 'image' and on the registration (or the backoffice costumer edit page) i upload an image, so far so good.  But when i re-edit the customer profile on the backend or on the frontend, the only thing that appears is the name of the image i uploaded, and not the  itself..  On the customer database table the content of the field is indeed (only) the name of the image i uploaded.  I wonder if Hikashop really uploaded the image, and where does it go.. I searched on the 'media/hikashop' folder, but without success.  Can you help me please.  Thanks Pedro")*

Hi,

Yes the image is uploaded, it should be in the folder "media/com_hikashop/upload"
Only the image name (and extension) are stored because we use then relative links.

To display the image where you want you will probably have to edit a view via the menu Display &gt; Views to add the &lt;img ... tag
Here is some documentation about view customizatoin:
[ www.hikashop.com/support/documentation/1...ize-the-display.html](http://www.hikashop.com/support/documentation/153-customize-the-display.html)

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 1 month ago [\#124115](#124115) by [Carvalho](/forum/user/12305-carvalho "View Carvalho's Profile")  Replied by *[Carvalho](/forum/user/12305-carvalho "View Carvalho's Profile")* on topic *[Customer Picture (Image) - Custom Field](/forum/33-customers/862107-customer-picture-image-custom-field#124115 "-- url of the page with the problem -- : http://localhost -- HikaShop version -- : Business - 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : Mozilla FireFox - V24 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  What i wanted to do was to have the customers picture/avatar on the registration page, and then show it on the profile page. So i created a custom field for the customer of the type 'image' and on the registration (or the backoffice costumer edit page) i upload an image, so far so good.  But when i re-edit the customer profile on the backend or on the frontend, the only thing that appears is the name of the image i uploaded, and not the  itself..  On the customer database table the content of the field is indeed (only) the name of the image i uploaded.  I wonder if Hikashop really uploaded the image, and where does it go.. I searched on the 'media/hikashop' folder, but without success.  Can you help me please.  Thanks Pedro")*

Hi Xavier,

Thanks for the reply, but i still can't resolve my "problem".

I tried to upload onother image 'jpg' and 'png', to diferent users on the user backoffice edit page.

After that i looked to the 'media/com_hikashop/upload' folder, and nothing appears there ![:(](/media/kunena/emoticons/22.png ":(")

The part of editing the view, and show the picture else where is not my issue, the problem here is that i don't see the picture i uploaded anywhere on HikaShop. The first thing i thought would happen was the picture to be visible in the user edit page of the backoffice as well in the frontoffice profile page.

And with the help of firebug, i see that there is an &lt;img&gt; tag, but it doesn't show the picture. Probably because it is not uploading correctly..

Here is what appears to me in the HTML:

BackOffice:
&lt;img
class="hikashop_custom_file_upload_link"
alt="IMG_NAME.jpg"
src="/PROJ_FOLDER/administrator/index.php?option=com_hikashop&amp;ctrl=order&amp;task=download&amp;field_table=user&amp;field_namekey=dXNlcl9mb3Rv&amp;name=MTc1LWZyZWUtY2FydG9vbi1vd2wtY29sb3JpbmctcGFnZS1jbGlwYXJ0XzIwMjQwLmpwZw%3D%3D"
&gt;

FrontOffice:
&lt;img
class="hikashop_custom_file_upload_link"
alt="IMG_NAME.jpg"
src="/PROJ_FOLDER/component/hikashop/order/download/field_table-user/field_namekey-dXNlcl9mb3Rv/name-MTc1LWZyZWUtY2FydG9vbi1vd2wtY29sb3JpbmctcGFnZS1jbGlwYXJ0XzIwMjQwLmpwZw=="
&gt;

And then, i tried to enter the url of the picture source on the Browser, the picture really appears for download (don't know where from..), but when it opens on windows preview the message is that the picture is too large or may be corrupted..

So, don't know what more to try here..

Found it. While writting this post i tried to look once more, and the picture is on the 'media/com_hikashop/upload/safe' folder.

But still can't see the picture because the download of it seems to be damaged...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NjIxMDctY3VzdG9tZXItcGljdHVyZS1pbWFnZS1jdXN0b20tZmllbGQ/dG1wbD1tYXJrZG93bg==) 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)
-

13 years 1 month ago [\#124231](#124231) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Customer Picture (Image) - Custom Field](/forum/33-customers/862107-customer-picture-image-custom-field#124231 "-- url of the page with the problem -- : http://localhost -- HikaShop version -- : Business - 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : Mozilla FireFox - V24 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  What i wanted to do was to have the customers picture/avatar on the registration page, and then show it on the profile page. So i created a custom field for the customer of the type 'image' and on the registration (or the backoffice costumer edit page) i upload an image, so far so good.  But when i re-edit the customer profile on the backend or on the frontend, the only thing that appears is the name of the image i uploaded, and not the  itself..  On the customer database table the content of the field is indeed (only) the name of the image i uploaded.  I wonder if Hikashop really uploaded the image, and where does it go.. I searched on the 'media/hikashop' folder, but without success.  Can you help me please.  Thanks Pedro")*

Are you sure that the folder "upload" have the correct access rights ? Thanks to try the chmod 775
Have you uploaded some other pictures inside via the hikashop interface ?

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

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