kmk Posted January 26, 2019 Share Posted January 26, 2019 I'm asking for help to remove data that come with the embedded picture Thanks Link to comment Share on other sites More sharing options...
kmk Posted January 30, 2019 Author Share Posted January 30, 2019 @bfarber through your recommendation I opened this topic asking how to remove the data of the embed picture Link to comment Share on other sites More sharing options...
bfarber Posted January 30, 2019 Share Posted January 30, 2019 You'll probably want to edit the theme template gallery > front > global > embedImage. If you just want an image (or video) to show, you could probably trim the template all the way back to <div data-embedInfo-maxSize='500' class='ipsRichEmbed'> {{if $item->media }} <span class='ipsThumb ipsNoThumb ipsNoThumb_video ipsThumb_embed'> <video data-role="video" class="ipsPos_center" controls preload="metadata" width="100%" height="100%"{{if $item->masked_file_name }} poster="{file="$item->masked_file_name" extension="gallery_Images"}"{{endif}}> <source src="{file="$item->original_file_name" extension="gallery_Images"}" type='{$item->file_type}' /> </video> </span> {{else}} <a href='{$item->url()}' title='{lang="view_this_image" sprintf="$item->caption"}' class='ipsThumb ipsThumb_embed ipsThumb_bg' style='background-image: url( "{backgroundimage="\IPS\File::get( 'gallery_Images', $item->small_file_name )->url"}" );'> <img src='{file="$item->small_file_name" extension="gallery_Images"}' alt="{$item->caption}" class='ipsHide'> </a> {{endif}} </div> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.