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

#   Modify the image upload form for custom item image

##

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

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 5 months ago [\#108220](#108220) by [LenaK](/forum/user/6546-lenak "View LenaK's Profile")  *[Modify the image upload form for custom item image](/forum/4-how-to/83472-modify-the-image-upload-form-for-custom-item-image#108220 "Hi, I am soooooooooo happy with Hikashop. Best product ever. Support team is brilliant and intuitive.  I have messed around with various extensions to upload images, but since my images are needed for my products, I've come back to Hikashop and am happy to be using custom item image fields in my cart.  While I was experimenting, I learned that clients can upload php files disguised as png images and unfortunately I too can do this with the custom item image, although I don't have the skill to create something really viscous or destructive.  I get that the images extensions are limited by the configuration settings, but I would like to add checks to the upload form. Where is it?  Thanks in advance.")* was created by *[LenaK](/forum/user/6546-lenak "View LenaK's Profile")*

Hi,
I am soooooooooo happy with Hikashop. Best product ever. Support team is brilliant and intuitive.

I have messed around with various extensions to upload images, but since my images are needed for my products, I've come back to Hikashop and am happy to be using custom item image fields in my cart.

While I was experimenting, I learned that clients can upload php files disguised as png images and unfortunately I too can do this with the custom item image, although I don't have the skill to create something really viscous or destructive.

I get that the images extensions are limited by the configuration settings, but I would like to add checks to the upload form. Where is it?

Thanks in advance.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

13 years 5 months ago [\#108231](#108231) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Modify the image upload form for custom item image](/forum/4-how-to/83472-modify-the-image-upload-form-for-custom-item-image#108231 "Hi, I am soooooooooo happy with Hikashop. Best product ever. Support team is brilliant and intuitive.  I have messed around with various extensions to upload images, but since my images are needed for my products, I've come back to Hikashop and am happy to be using custom item image fields in my cart.  While I was experimenting, I learned that clients can upload php files disguised as png images and unfortunately I too can do this with the custom item image, although I don't have the skill to create something really viscous or destructive.  I get that the images extensions are limited by the configuration settings, but I would like to add checks to the upload form. Where is it?  Thanks in advance.")*

Hi,

There is no need for such check. if the customer renames a php file with the extension of an image, the system will indeed allow the upload of the file, but the file will be treated as an image, not as a php file and thus no hack will be possible as the PHP code won't be executed by your web server.

There is no trigger on the file saving process so you won't have to add custom code in a view of the checkout to load the image in memory and check it yourself if you want but there is no need for that as I explained in my first paragraph.

The following user(s) said Thank You: [LenaK](/forum/user/6546-lenak "View LenaK's Profile")

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 5 months ago [\#108234](#108234) by [LenaK](/forum/user/6546-lenak "View LenaK's Profile")  Replied by *[LenaK](/forum/user/6546-lenak "View LenaK's Profile")* on topic *[Modify the image upload form for custom item image](/forum/4-how-to/83472-modify-the-image-upload-form-for-custom-item-image#108234 "Hi, I am soooooooooo happy with Hikashop. Best product ever. Support team is brilliant and intuitive.  I have messed around with various extensions to upload images, but since my images are needed for my products, I've come back to Hikashop and am happy to be using custom item image fields in my cart.  While I was experimenting, I learned that clients can upload php files disguised as png images and unfortunately I too can do this with the custom item image, although I don't have the skill to create something really viscous or destructive.  I get that the images extensions are limited by the configuration settings, but I would like to add checks to the upload form. Where is it?  Thanks in advance.")*

i must be getting somewhere because i understand. Thank you. ![:P](/media/kunena/emoticons/14.png ":P")

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

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