Resizes posted images in phpBB3 using javascript and Litebox or Highslide JS