The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Add Linked Images To Gallery
Warning for mime_content_type causes white screen (1 post)

  1. On clicking the publish button in a post with an external image I receive this error

    Warning: mime_content_type() [function.mime-content-type]: File or path not found 'http://ben.lobaugh.net/blog/wp-content/uploads/2011/11/IMG_0438-358x480.jpg' in /Applications/XAMPP/xamppfiles/htdocs/vhosts/nordstrom/wp-content/plugins/add-linked-images-to-gallery-v01/attach-linked-images.php on line 76

    Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/vhosts/nordstrom/wp-content/plugins/add-linked-images-to-gallery-v01/attach-linked-images.php:76) in /Applications/XAMPP/xamppfiles/htdocs/vhosts/nordstrom/wp-includes/pluggable.php on line 881

    The fix is pretty simple:

    Change line 99 from
    $desc = externimg_getext($file);
    $desc = externimg_getext($file_array['tmp_name']);

    this will cause it to fall in line with line 103 and the system returns to being happy again.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Add Linked Images To Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Ben Lobaugh (blobaugh)
  • This topic is not resolved
  • WordPress version: 3.4.2


No tags yet.