So, you want the picture with the description on the same page, something like having orphan/widow controlling.
OK. Well you can keep track of the height of total content and if exceeds the page limit then shift them to the next page. Then it will be alright.
n00b Saibot wrote:Well you can keep track of the height of total content and if exceeds the page limit then shift them to the next page. Then it will be alright.
thanks for reply.
But how to keep track of the height of total content and shift it to next page?
for that boy, you will have to do some maths based on the size of your photo together with the content.
Do look into FPDF. it will make your life easier.