Event List – display image

Home Forums Calendar Products Events Calendar PRO Event List – display image

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1097248
    REYNALDO
    Participant

    How can I get a Event List to display the image that is associated with a event?

    I have used the code provided here https://gist.github.com/ggwicz/251bdcebb7f9181737ec to create a template that should include the a image. I have placed it in my themes folder using this directory path:
    specular/tribe-events/pro/widgets/modules/single-event.php

    Do I need to activate this somehow? Is there something that is missing? Does it need to be in a shortcode? I am currently using it in a widget using the plug in “amr shortcode any widget”

    site can only be viewed with host file info and that info is at the top of the system info area

    #1097956
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    That looks like the correct directory if that is your active theme.

    Not sure if the amy shortcode any widget is causing the problem.

    Have you tried using our shortcodes for the event list widget:

    [tribe_events_list]

    You can also try adding some text right above this :

    <div class="list-info">

    If you do not see that text in the Event List Widget then it is not picking up the template in your theme.

    Let me know what you find out.

    Thanks

    #1098342
    REYNALDO
    Participant

    Is there anyway to change the image size? Currently it is displayed as a square and would like to make it rectangular to match the normal Photo view.

    I think having the ability to add a photo, photo orientation and layout orientation to shortcodes would make this plugin even better.

    #1098481
    Brian
    Member

    Hi,

    You have to change the word thumbnail to medium in this code:

    <?php echo tribe_event_featured_image( null, 'thumbnail' ); ?>

    Other options are large or full.

    You can also create your own sizes:

    add_image_size()

    #1104898
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Event List – display image’ is closed to new replies.