• Anonymous User 14741691

    (@anonymized-14741691)


    I am experiencing an issue with media images. If I link an image via the field “Media External Content” it shows properly and the icon on the overview slide indicates an image too. But if I use the image from my own repository and linking via “Media image” the icon indicates a text slide only and no image is shown.

    https://www.ads-software.com/plugins/storymaps/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have found the problem:
    on storymap-core.php
    $image = get_field(‘sms_media_image’, $slide->ID);
    $image = ($image != null) ? wp_get_attachment_image_src($image) : false;

    This second line is unuseful, wp_get_attachment_image_src expect an id.
    If you comment that line on row 249 it work.

    Maybe developer should fix it

    thanks manafactory, your suggested fix got my media to appear.
    Now if I could just figure out how to size the media.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Media image is ignored’ is closed to new replies.