WordPress.org

Forums

Magic Fields 2
Remove prefix from Phpthumb generated images (2 posts)

  1. S3nd41
    Member
    Posted 1 year ago #

    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.

    Thanks!

    https://wordpress.org/plugins/magic-fields-2/

  2. hunk
    Member
    Plugin Author

    Posted 11 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Magic Fields 2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic