how to get image form the api

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • msonu719
    Junior Member
    • Aug 2024
    • 14

    how to get image form the api

    Hi team,

    i have integrate the api in my project but i'm getting image on this way <img src="?entryPoint=attachment&amp;id=67c57b1f93d6657 a5" style="width: 228.333px;">. How did i get the image path ??
  • item
    Active Community Member
    • Mar 2017
    • 1506

    #2
    Hi,
    as i know (and if a understand your request) .. by default, you can not access to data/upload/idOfFile for security.
    this folder is configured by default with nginx/appache.

    But you can contruct the path so : file path => rootOfEspCrm/data/upload/67c57b1f93d6657


    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    Working...