Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Stirling-PDF
  3. Favicon fix ?

Favicon fix ?

Scheduled Pinned Locked Moved Solved Stirling-PDF
12 Posts 4 Posters 912 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • nebulonN nebulon

    Do you have a link to the upstream docs mentioning support for this? The app got quite some heavy changes in the past UI wise.

    N Offline
    N Offline
    Neluser
    wrote on last edited by
    #3

    @nebulon

    Is that what you mean?
    I looked at the documentation on github.

    https://github.com/Stirling-Tools/Stirling-PDF
    1833315b-93a8-4280-96da-e9df00c72664-image.png

    1 Reply Last reply
    0
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #4

      At least nothing really changed on that packaging side in this, so maybe this is an upstream regression, especially if other icons still work. Have you searched the issues there and maybe raised one?

      1 Reply Last reply
      0
      • F Offline
        F Offline
        froodle
        wrote on last edited by
        #5

        Not sure what is happening here, i can still change the icon in the base package, we have not made any updates to this functionality in a long time

        1 Reply Last reply
        0
        • J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #6

          @Neluser @froodle looks like customStaticFilePath was removed in https://github.com/Stirling-Tools/Stirling-PDF/commit/45e2623b9bcb7b88a179553535b82929293bc18b#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L245 . So, the favicon cannot be customized anymore .

          Not sure what is happening here, i can still change the icon in the base package

          I guess you mean that you have to re-build the binary by replacing the favicon, correct?

          1 Reply Last reply
          0
          • F Offline
            F Offline
            froodle
            wrote on last edited by froodle
            #7

            That change is to remove the config to change the path as it never actually worked
            It is instead hard coded to .\customFiles\static
            I can still customise this on latest version with a favicon.svg file placed in that folder

            1 Reply Last reply
            1
            • nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote on last edited by nebulon
              #8

              I've just tried to reproduce this, placing a favicon.svg in that folder will serve that up fine, however the actual favicon seems to be /favicon-16x16.png in the end also after an app restart. Do we need to run some command to regenerate assets in the app package?

              The app icon in various places has changed correctly.

              1 Reply Last reply
              0
              • F Offline
                F Offline
                froodle
                wrote on last edited by
                #9

                So the way it works on stirling side is we just grab whatever files are in static if their naming and path is the same on stirling pdf side
                In this case any files you place will override any files placed in here
                https://github.com/Stirling-Tools/Stirling-PDF/tree/main/src/main/resources/static

                since you want to override the favicon itself then you would nee dto change favicon.svg for the homepage icons and favicon-16x16.png etc for the favicon itself (smaller sizes for better loading on SSO side)

                1 Reply Last reply
                1
                • nebulonN Away
                  nebulonN Away
                  nebulon
                  Staff
                  wrote on last edited by
                  #10

                  Oh that makes total sense, I can confirm it works by placing file accordingly. So I guess this issue is resolved by @Neluser probably having to put more custom files for the favicons?

                  1 Reply Last reply
                  1
                  • nebulonN nebulon marked this topic as a question on
                  • J Offline
                    J Offline
                    joseph
                    Staff
                    wrote on last edited by
                    #11

                    @froodle thanks! Can confirm that it works after placing some icons like this:

                    image.png

                    1 Reply Last reply
                    0
                    • J joseph has marked this topic as solved on
                    • N Offline
                      N Offline
                      Neluser
                      wrote on last edited by
                      #12

                      Hi, yes indeed when I uploaded some image variations I got everything working.

                      In my case the favicon.ico was applied, not the favicon.svg.

                      Thank you all for your help in solving my issue.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search