Removed the rtp_generate_thumbs function

Removed the rtp_generate_thumbs function added it to the rtp deprecated functions and also added the backward compatibility.