Support » Plugin: Magic Fields 2 » Remove prefix from Phpthumb generated images

  • Hello,

    I was wondering if there’s a way to remove that prefix string of randomly generated letters and numbers on thumbnails generated through phpThumb my Magic Fields.

    It generates filenames like: th_cecf222fea289363bccd0bdcb765c3db_1397862287imagefilename.jpg which is somewhat terrible in terms of SEO where your image filenames should refer to a name actually relevant to the image.


Viewing 1 replies (of 1 total)
  • Plugin Author hunk


    the problem where is the number before the filename image is a md5 of parameters, MF check if exist the image with new params (w,h,q,c) if not exist generate the image, if exit only return the url of image.

    MF not used phpthumb, only retain the name backward compatibility, it is actually a small class that uses the functions of WP for handling Image.

    you can add phpthumb or other library for image.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove prefix from Phpthumb generated images’ is closed to new replies.