Wallpaper Script Forum » How-To and Troubleshooting

Resolutions by width, ignoring height

(2 posts)
  1. Piedra
    Member

    Hello,
    I am very pleased with the script, been testing it and quite happy with it, I think I will use and buy it.

    But there is one thing I don't like, or at least that I cant find how to make it work. Searching through forum, it seems it's not possible, but I'm surprised if so, as it does not seem to be a php limitation as far as I can see:

    - I want to provide different resolutions, but instead of specifying width and height, I only want it to consider width. That is, for example, a resolution where I could have 700px width & * pixels height. Resizes would be proportional to the maximum width.

    Currently, if I don't specify a height, it automatically assumes it's 0. Adding the symbol * doesn't work either.

    Any chance this could be done?
    Thanks

    Posted 2 years ago #
  2. Piedra
    Member

    Maybe I'm not explaining myself correctly.

    Lets say I have a these resolutions configured:
    400x400
    300x300

    If I upload a 400x300 file:
    - I'd like it to go into the 400x400 category
    - and resized to 300x225 (proportional ratio resize to max width), going into the 300x300 resolution category.

    That is, categories by max width or height, but with no need to be so strict on exact sizes.

    Thanks

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.