Skip to content

Same wallpaper – Grouping different sizes

Discussion about Free Wallpaper Script. Installation, bugs, feature requests, modification and other questions.
Post you features that you think wallpaper script should have
  • This topic has 4 replies, 3 voices, and was last updated 13 years ago by mngn.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #548
    workshy
    Participant

      OK, I was a bit unhappy at having to add 1000 templates without a bulk upload feature as this is going to take many hours, probably days! (but for a free script, I can live with that)

      However, the problem I’ve got is that I have most wallpapers in different sizes and uploading each individually doesn’t group them together with a drop-down option box for the user to choose the size to be downloaded. How can I link several sizes of the same wallpaper on the same page as in the demo version?

      #549
      veppa
      Keymaster

        Script resizes images automatically to defined values. it is defined in /sys/app/models/Wallpaper.php on line #55. $arr_sizes = array(‘1024×768’, ‘1600×1200’,…);
        Script checks if these defined resize values smaller than your wallpaper then select box appears on wallpaper page to download different smaller sizes. Which then resizes and crops original wallpaper to that size.

        So if you uploaded smaller sized wallpaper no resize option will be displayed. If you are doing it for mobile wallpapers then you can add/append mobile sizes to $arr_sizes in /sys/app/models/Wallpaper.php .

        #550
        veppa
        Keymaster
          #551
          mngn
          Participant

            in front end i can’t see any change size section. it seems to be disable!?! should i change any value to enable this feature?

            #552
            mngn
            Participant

              problem solved by uploading some photos!!!
              :-?
              :D

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.