Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

View hotlinked images (eq Installatron) on my page

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

  1. internex

    internex Registered

    Apr 26, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    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 "".
    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,
  2. KostonConsulting

    KostonConsulting Well-Known Member Verifed Vendor

    Jun 17, 2010
    Likes Received:
    Trophy Points:
    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?
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice