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

#   How To Get An Image From Safe Folder

##

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

Less More

- Posts: 108
- Thank you received: 2
-
-

12 years 1 month ago -  12 years 1 month ago [\#175250](#175250) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  *[How To Get An Image From Safe Folder](/forum/4-how-to/872260-how-to-get-an-image-from-safe-folder#175250 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.6 -- Browser(s) name and version -- : FireFox 32.0.3  Hello!  I have a custom field of type image, and i have noticed it is saving the images in a safe folder which is pretty nice ( i don't want to change it). Now i want to access this photo (not from Hikashop), i have successfully recieved the image name from the database but i cannot show it because of the safe protocol. I have noticed you use a special url with name that can get the image to be used, i just don't know where do i get that. I wonder is there a way to use this url to display an image i have from the database that located inside a safe folder or i have to change the folder?  Thank you in advance!")* was created by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")*

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 2.5.24
-- PHP version -- : 5.4.6
-- Browser(s) name and version -- : FireFox 32.0.3

Hello!

I have a custom field of type image, and i have noticed it is saving the images in a safe folder which is pretty nice ( i don't want to change it).
Now i want to access this photo (not from Hikashop), i have successfully recieved the image name from the database but i cannot show it because of the safe protocol.
I have noticed you use a special url with name that can get the image to be used, i just don't know where do i get that.
I wonder is there a way to use this url to display an image i have from the database that located inside a safe folder or i have to change the folder?

Thank you in advance!

Last edit: 12 years 1 month ago by [bars92](/forum/user/3048-bars92 "View bars92's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3MjI2MC1ob3ctdG8tZ2V0LWFuLWltYWdlLWZyb20tc2FmZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) 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: 86587
- Thank you received: 14325
-
-

12 years 1 month ago [\#175262](#175262) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How To Get An Image From Safe Folder](/forum/4-how-to/872260-how-to-get-an-image-from-safe-folder#175262 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.6 -- Browser(s) name and version -- : FireFox 32.0.3  Hello!  I have a custom field of type image, and i have noticed it is saving the images in a safe folder which is pretty nice ( i don't want to change it). Now i want to access this photo (not from Hikashop), i have successfully recieved the image name from the database but i cannot show it because of the safe protocol. I have noticed you use a special url with name that can get the image to be used, i just don't know where do i get that. I wonder is there a way to use this url to display an image i have from the database that located inside a safe folder or i have to change the folder?  Thank you in advance!")*

Hi,

The download URL we use uses the information of the order to see if the current user has the right to access the file or not.
If you're outside HikaShop with your code and don't have access to the data to set in the parameters of the URL, it will be easier to just move the file out of that folder or remove the .htaccess file in that folder.

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

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

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