-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backdrop improvement: Add url for vertical and horizontal orientation #55
Comments
Are you using backdrop on a phone or handheld tablet? |
I'm using Rotini on all my devices, and would also like to see this proposed feature to switch the image based on orientation (mostly for Phone's). |
@frode, @d0t101101 To restate my question, are you using the same sitemap with backdrop on all devices (phones and tablets)? |
Yes, I am... Portriat mode truncates the backdrop image on both. |
@igorgladkov I use one sitemap on both phone and tablet, and will make a dedicated table sitemap later when you release a android 4.x compatible app, or when I've purchased a newer tablet for the purpose. |
Added in 0.3.26 |
@igorgladkov Well done, any info om usage? |
@frode Will update the wiki closer to release time |
@igorgladkov A bit early in the morning here, not completed my first coffee cup yet. Thanks, release numbers slipped my eyes. |
@igorgladkov - thanks for the new feature! Tested and working fine. A potential feature improvement around this - can you parameterize the devices width/height? This way the resolution can be detected by Rotini and passed in as variables to the image URL, so the same sitemap would be pixel perfect on many devices... For example: Image label="{item:backdrop}" vertical-url="https://source.unsplash.com/category/nature/{device:width}x{device:height}" |
@d0t101101 I would say just set the highest resolution you need from all your devices and it will be down-sampled whenever required, which should not have any quality loss. |
Add two url options example:
Image label="{item:backdrop}" vertical-url="https://source.unsplash.com/category/nature/1080x1920, horizontal-url="https://source.unsplash.com/category/nature/1920x1080"
And automatically use the correct one for the current orientation 👍
url as it is in the current version could be used as a fallback if none of the orientations were specified.
The text was updated successfully, but these errors were encountered: