Luke 42077 Posted November 30, 2014 Posted November 30, 2014 These are optional image params that are being added to limit the size of the api data being returned. EnableImages (true/false). Defaults to true. Easy way to disable all images. ImageTypeLimit (int). Defaults to no limit. Limits the number of images per type that are returned. In most cases, only one is needed EnableImageTypes = comma delimited list of image types to return. Defaults to all images. Example: EnableImageTypes=primary,logo,thumb 1
Luke 42077 Posted November 30, 2014 Author Posted November 30, 2014 You can go ahead and include these params on any endpoint that returns lists of items, although it will take time to get them all added.
Luke 42077 Posted December 1, 2014 Author Posted December 1, 2014 Yes you can see a big benefit just with ImageTypeLimit=1 alone. that will limit to 1 backdrop. If you want you can then further improve using EnableImageTypes to only include image types you actually use
xnappo 1611 Posted December 1, 2014 Posted December 1, 2014 What I am doing is building a list of images in the background using the full call. This refreshes every so often, but this way when the user browses around the JSON data is smaller - giving the double benefit of smaller data transfer and less dictionary look-ups. xnappo
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now