Forums

[Plugin: Magic Fields] get_image and cache - nonexistent files returned? (1 post)

  1. waffl
    Member
    Posted 8 months ago #

    I am using the Magic Fields plugin version 1.5.8.1 with WordPress 3.2.1

    I have a field that is set as Image/Upload. Uploading images and setting images in the field is functioning (can see the set image in the post editor) but when I try to display the image in my template, it is returning an URL for a file that doesn't exist.

    Using
    echo get_image('field_name');

    it is creating an image src like so:

    http://siteurl/wp/wp-content/files_mf/cache/th_db25622bc44ab352a4247c6445af0004_title.gif

    I couldn't find a cache folder in files_mf so I created one. I've also tried re-uploading images and it doesn't seem to generate this supposed file.

    By using
    echo get('field_name');

    It returns the proper url to the full image.

    I'm really confused about what is happening. Both files_mf and cache are set to 755 in terms of permissions. All I can think is that I need to somehow regenerate all the thumbnails, but the only option I see is deleting the cache directory.

Reply

You must log in to post.

About this Topic