Subtract percentage of imageheight from imageheight, let this be part y; Let percentage of imageheight equal part height.