I am using custom post type. In my CPT there are two numeric fields say 'from' and 'to'. These two fields contains image numbers from and to, for example 1 to 10, 133 to 137 etc.. I want to loop between these fields to show images. Is it possible using <wpv-loop> in views. I was guessing that if <wpv-loops> work with [wpv-condition] some how and I can use it outside [wpv-items-found].
Unfortunately, there's no such built-in solution to create a custom loop, based on this. Although View's [wpv-for-each] (https://toolset.com/documentation/views-shortcodes/#wpv-for-each) offers such a thing, but that's for multiple items in a custom field (or repeating fields). Since you want to loop through the numbers from 2 different fields, you will need a custom solution for this.
For example, following sample code creates a custom short code to accept the start/end numbers for a loop and iterates through the items: