• Resolved gamma303

    (@gamma303)


    Hi there,

    So my theme and timely has a conflict and it was having an issue displaying the featured image above the timely event info.

    After reading through your forums here and on the time.ly site and through your help documentation came up with this script to pull the featured image.

    <script>
    (function($) {
       $(document).ready(function() {
             if ($('body').hasClass('single-ai1ec_event') ) {
             var eventImageWrapper = $('.ai1ec-post_thumbnail'),
             eventImage = eventImageWrapper.find('img'),
             insertAfter = $('article.single-post-module');
             eventImageWrapper.detach();
             insertAfter.prepend('<div class="post-thumbnail header"><img src="'+ eventImage.attr('src') +'"/></div>');
            }
       });
    })(jQuery)
    </script>

    Only issue is that its pulling a Med / Small Featured image and i need it to pull a larger one. Including 3 sample calendar pages.

    The theme developed has asked me to ask you:
    “Can you please ask the plugin author how you can use the images in full width, instead of the smaller version in your layout.”
    “My Js code, simply take the image that the plugin offers, and put it on the top of your content, but the plugin is the one the generate that image, so it generates a smaller version of your original image, that’s why it looks cropped, I’m not familiar with that plugin, thus I’m not familiar if there is a filter or hook I can use to make sure the image is used in full width, if you can grab this information from the plugin author, then I can create a function that will use the full image size instead of a smaller one.”

    3 Sample Pages:
    http://www.justedms.com/event/midnite-events-wax-motif-wuki/?instance_id=21
    http://www.justedms.com/event/stilldreamin-nastynasty-more/?instance_id=13
    http://www.justedms.com/event/midnite-events-cosmic-gate/?instance_id=16

    Been working on this on and off for months now and we’re close. Any help is appreciated.

    Thank you.

The topic ‘Featured Image Issue w/ Time.ly’ is closed to new replies.