I was responding to the gentleman that has a loader with missing cylinders. I do see the issue and it does not look like an OTS cylinder will work there without a little modification.
You still measure the retracted length and stroke just as I described and take the added length of the base end stub into account when buying the new cylinders
A welding ship can weld a stub on there PDQ. Might also want to have a look at something like this. It gets you 2" of base end extension and might actually work OTS.
1.5 bore x 6 stroke hydraulic cylinder, welded tang double acting cylinder | Magister Hydraulics
1.5" bore x 6" stroke tang hydraulic cylinder 3500 PSI double-acting. Heavy-duty hydraulics, 2-year warranty, free ground Continental US shipping. Magister tang cylinders manufactured using steel piston and steel threaded gland with wear rings for long life. Welded durable mounting ends, honed...www.magisterhyd.com
Dan
Thanks