Thread:Extension talk:FancyBoxThumbs/Doubled dots don't get replaced/reply

I found the culprit. There were some double dots in my relative path to the upload directory which got in the way. I changed lines 68ff. to the following so the replacement only affects the file type extension for which it is meant and not the whole path to the image file:

 .' img_type = "."+img_type;' .' img_type = img_type.replace("..", ".");' // change ..jpg to .jpg but do not change .jpeg .' img_src = img_split1[0]+img_split2[0]+img_type;'