Active Directory Thumbnails
[resolved] Missing slash causing bulk import to save images in wrong location (3 posts)

  1. Grant Prudlow
    Posted 2 years ago #

    In bulk-scheduled-process.php, you're missing a slash in line 57 (compare to line 23 in pic-process.php). This is causing images to be saved as e.g. "active-directory-thumbnailsgrant-prudlow1.jpeg" in wp-content/uploads when using the bulk import script. The DB is updated with the intended path, so it 404s.

    Since you've got the same adt_get_user_photo() function in both pic-process.php and bulk-scheduled-process.php, I recommend pulling it out into its own include shared by the two scripts.


  2. Omar Mir
    Plugin Author

    Posted 2 years ago #

    Hey, you are absolutely right! I'll fix that right away. I may not do the include today but at the least can fix the issue right now.

  3. Omar Mir
    Plugin Author

    Posted 2 years ago #

    v 0.6 is has been released with this fix.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Active Directory Thumbnails
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.