Support

Home Forums Event Espresso Premium Featured image not populating suddenly

Featured image not populating suddenly

Posted: December 8, 2013 at 1:05 pm


Breakwater School

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,
Ashleigh


Dean

December 9, 2013 at 1:40 am

Hi Ashleigh,

The image_default_link_type should look like this http://d.pr/i/xy8y

Does yours?


Breakwater School

December 9, 2013 at 5:40 am

Yes, this is what I have beginning at line 72 in options.php:

<code>$whitelist_options = array(
	&#039;general&#039; =&gt; array( &#039;blogname&#039;, &#039;blogdescription&#039;, &#039;gmt_offset&#039;, &#039;date_format&#039;, &#039;time_format&#039;, &#039;start_of_week&#039;, &#039;timezone_string&#039; ),
	&#039;discussion&#039; =&gt; array( &#039;default_pingback_flag&#039;, &#039;default_ping_status&#039;, &#039;default_comment_status&#039;, &#039;comments_notify&#039;, &#039;moderation_notify&#039;, &#039;comment_moderation&#039;, &#039;require_name_email&#039;, &#039;comment_whitelist&#039;, &#039;comment_max_links&#039;, &#039;moderation_keys&#039;, &#039;blacklist_keys&#039;, &#039;show_avatars&#039;, &#039;avatar_rating&#039;, &#039;avatar_default&#039;, &#039;close_comments_for_old_posts&#039;, &#039;close_comments_days_old&#039;, &#039;thread_comments&#039;, &#039;thread_comments_depth&#039;, &#039;page_comments&#039;, &#039;comments_per_page&#039;, &#039;default_comments_page&#039;, &#039;comment_order&#039;, &#039;comment_registration&#039; ),
	&#039;file&#039; =&gt; array( &#039;thumbnail_size_w&#039;, &#039;thumbnail_size_h&#039;, &#039;thumbnail_crop&#039;, &#039;medium_size_w&#039;, &#039;medium_size_h&#039;, &#039;large_size_w&#039;, &#039;large_size_h&#039;, &#039;image_default_size&#039;, &#039;image_default_align&#039;, &#039;image_default_link_type&#039; ),
	&#039;reading&#039; =&gt; array( &#039;posts_per_page&#039;, &#039;posts_per_rss&#039;, &#039;rss_use_excerpt&#039;, &#039;show_on_front&#039;, &#039;page_on_front&#039;, &#039;page_for_posts&#039;, &#039;blog_public&#039; ),
	&#039;writing&#039; =&gt; array( &#039;use_smilies&#039;, &#039;default_category&#039;, &#039;default_email_category&#039;, &#039;use_balanceTags&#039;, &#039;default_link_category&#039;, &#039;default_post_format&#039; )</code>


Dean

December 9, 2013 at 6:36 am

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.


Breakwater School

December 9, 2013 at 12:12 pm

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.


Breakwater School

December 9, 2013 at 12:49 pm

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.

Event Espresso