Support

Home Forums Event Espresso Premium featured image issue?

featured image issue?

Posted: February 27, 2014 at 5:52 pm

Viewing 10 reply threads


mamamojo

February 27, 2014 at 5:52 pm

hi,

new user here. πŸ™‚

in the process of moving from the paid to free version i upgraded to 4, then reverted to a backup and upgraded to pro3 to retain access to the addons we desired.

since doing that, any new featured images i assign in regular posts do not appear in my header anymore. http://pastebin.com/4xsw1pA7 is the code for my header file.

thanks.


Tony

  • Support Staff

February 28, 2014 at 5:39 am

Hi mamamojo,

Apologies but I’m not sure I follow what is happening, I can see images within the header of your site and the feature image for an event on the site?

Can you link us to a page and provide a description of what we should/should not be seeing please?


mamamojo

February 28, 2014 at 6:50 am

sure. thanks! the site is hangout-usa.com.

my theme has a large cover photo that is the featured image. this post is working and is the last one i added a cover photo to before upgrading ee from free to pro.
http://hangout-usa.com/peter-levitov/

it worked fine with the free version, that was installed when i added the featured image to /peter-levitov/

since the upgrade, i have tried to update the featured image on this (and a few other) posts/s and the featured image on the archive page updates, but in my theme, i just see the default header image. it doesn’t display my featured image.

http://hangout-usa.com/mz-imani/

to make matters weirder, i updated the featured image on a few pages and those changes worked just fine.

i am not a php dev, so i appreciate your experitse. thanks so much!


Tony

  • Support Staff

February 28, 2014 at 7:15 am

Can you go to http://hangout-usa.com/wp-admin/options.php

Find the image_default_link_type field. Is it set to file?

If not type ‘file’ within that field and update. (no quotes)

Then right a the bottom click save.


Tony

  • Support Staff

February 28, 2014 at 7:16 am

So it should look like this http://d.pr/i/xy8y


mamamojo

February 28, 2014 at 9:30 am

yes, the image_default_link_type is already set to file on that page.


Sidney Harrell

February 28, 2014 at 2:51 pm

There are 2 issues:
First, there isn’t support currently for the event editor to update the event post featured image with the featured image from the event. If you would like to add that support in, you can follow the instructions here. So without that support, you’ll have to go to the event post after it is created and add the featured image to it directly.
Second, the featured image must be wider than what the theme is setting HEADER_IMAGE_WIDTH to. I’m not sure what your theme has that set to, but I just checked twentythirteen and it was set to 1600. If you want to check your theme’s, put this debugging line in temporarily:

$temp = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( HEADER_IMAGE_WIDTH, HEADER_IMAGE_WIDTH ) );var_dump($temp);var_dump(HEADER_IMAGE_WIDTH);

You’ll want to put it right above line 121 in your header file:

if ( is_singular() &&

With that line in your header file, when you reload the page, you should see the debugging output. Copy and paste it in here and we should be able to tell why it’s not displaying the image.


mamamojo

March 1, 2014 at 8:06 am

hmm… this isn’t about the event-post featured image, the issue is on regular posts in other areas of my site. same troubleshooting?


Lorenzo Orlando Caum

  • Support Staff

March 1, 2014 at 12:51 pm

Hello,

I’ve taken another look at this post and it sounds like the issue is with featured images for regular WP posts.

To my knowledge Event Espresso does not replace existing code in the header of the page.

Do the images start appearing again if you temporarily disable Event Espresso through WP Plugins?


Lorenzo


mamamojo

March 3, 2014 at 6:18 am

hi there,

i’ve tried a couple things and what i’m thinking is happening is that the images are not wide enough to display as the theme wants (thanks for that thought, sidney). i don’t think the issue is with EE after all.

thanks for the troubleshooting help.


Tony

  • Support Staff

March 3, 2014 at 6:22 am

Thank you for letting us know Mamamojo πŸ™‚

Viewing 10 reply threads

The support post ‘featured image issue?’ 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