The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

View hotlinked images (eq Installatron) on my page

Discussion in 'cPanel Developers' started by internex, Apr 19, 2013.

  1. internex

    internex Registered

    Joined:
    Apr 26, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello!

    We use cPanel and Installatron on our hosting server.
    Our clients can configure everything through our clientarea via API1/API2.

    We now have some difficulties with hotlinking images.
    For example:
    Installatron API gives us image: "icon1752x_wordpress.png" for a logo.
    -> I then generate the Image-URL "https://myserverhostname.at:2083/3rdparty/installatron/images/icon1752x_wordpress.png".
    Problem -> this image is hot link protected! When I have a WHM Login, the Image shows up, when I have no WHM Login, I get the Login-Screen.

    I know there is a hotlink protection in cPanel - but this is disabled! Furthermore, I would have to disable it in WHM, not cPanel!
    I found the API command "MagicRevision:uri" - this generates URL like "cPanel_magic_revision_0/frontend/x3/3rdparty/installatron/images/icon1752x_wordpress.png"
    Unfortunately, also this imagelink isn't working...

    Can someone help me with this issue?
    Thank you very much!

    Best regards,
    Harald
     
  2. KostonConsulting

    KostonConsulting Well-Known Member

    Joined:
    Jun 17, 2010
    Messages:
    255
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    San Francisco, CA
    cPanel Access Level:
    Root Administrator
    If you are just using APIs and the user has never actually logged into cPanel then they won't be able to see this image. That image is served through cPanel's web server which requires authentication.

    Why not just copy the image to some public web site so you can access it or locally to your client panel?
     
Loading...
Similar Threads - View hotlinked images
  1. gunsuka
    Replies:
    3
    Views:
    577

Share This Page