Luke 37046 Posted November 30, 2014 Share 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 Link to comment Share on other sites More sharing options...
Luke 37046 Posted November 30, 2014 Author Share 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. Link to comment Share on other sites More sharing options...
xnappo 1593 Posted December 1, 2014 Share Posted December 1, 2014 This is going to help a lot. Thanks! Link to comment Share on other sites More sharing options...
Luke 37046 Posted December 1, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
xnappo 1593 Posted December 1, 2014 Share 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 Link to comment Share on other sites More sharing options...
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