Posted: December 8, 2013 at 1:05 pm
|
Hi! I upgraded event espresso the other day and suddenly when I go to upload a featured image and insert into a post, I get a broken image icon. I’ve searched the forum and found a few answers, but was not sure how to specify the file value for ‘image_default_link_type’ in options.php, or if that’s even what I need to do. Our registration opens tomorrow! Thank you, |
|
Hi Ashleigh, The image_default_link_type should look like this http://d.pr/i/xy8y Does yours? |
|
Yes, this is what I have beginning at line 72 in options.php: <code>$whitelist_options = array( 'general' => array( 'blogname', 'blogdescription', 'gmt_offset', 'date_format', 'time_format', 'start_of_week', 'timezone_string' ), 'discussion' => array( 'default_pingback_flag', 'default_ping_status', 'default_comment_status', 'comments_notify', 'moderation_notify', 'comment_moderation', 'require_name_email', 'comment_whitelist', 'comment_max_links', 'moderation_keys', 'blacklist_keys', 'show_avatars', 'avatar_rating', 'avatar_default', 'close_comments_for_old_posts', 'close_comments_days_old', 'thread_comments', 'thread_comments_depth', 'page_comments', 'comments_per_page', 'default_comments_page', 'comment_order', 'comment_registration' ), 'file' => array( 'thumbnail_size_w', 'thumbnail_size_h', 'thumbnail_crop', 'medium_size_w', 'medium_size_h', 'large_size_w', 'large_size_h', 'image_default_size', 'image_default_align', 'image_default_link_type' ), 'reading' => array( 'posts_per_page', 'posts_per_rss', 'rss_use_excerpt', 'show_on_front', 'page_on_front', 'page_for_posts', 'blog_public' ), 'writing' => array( 'use_smilies', 'default_category', 'default_email_category', 'use_balanceTags', 'default_link_category', 'default_post_format' )</code> |
|
Are you looking directly in the file? If so please don’t, instead go to http://www.yoursite.com/wp-admin/options.php Obviously replace yoursite.com with the correct url. |
|
I didn’t know I needed to go to that url. Rookie mistake! I entered “file” next to image_default_link_type and updated the options.php file in WordPress.org just to make sure I didn’t previously make any changes. The featured image is still appearing as broken. |
|
Nevermind! It started to work, thank you! |
The support post ‘Featured image not populating suddenly’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.