Replace BigGrid Image with iframe-code

Posted in: Newsmag
Post count: 217

Hi,

is it possible to replace the big Big Grid image (537 x 360) with an iframe code? I have an iframe-video with exactly the same size and want to show it on this position.

Thank you!

Post count: 6600

Hi,

All theme’s modules, including the big grid module, have been designed to use image thumbs.
You could try to add a condition for the image and use your iframe code instead of it, however this isn’t easy so I suggest you find someone to help you with this if you don’t know how to do it.
You can find the image function here: http://screencast.com/t/7n5VfOWyX
And grid’s large thumb: http://screencast.com/t/nIHESsmZc

Thanks

Post count: 217

Massive thank you, Lucian!

It wasn’t very complicated. Very simple actually. Just deleted some code and pasted the iframe code – ready.

I left only this code, if someone is interested:

<div class="td-big-grid-post-0 td-big-grid-post" <?php echo $this->get_item_scope();?>>
<iframe src="http://www.videovalis.tv/teasers/271" width="537" height="358" frameborder="0" scrolling="no"></iframe>
</div>

<?php echo $this->get_item_scope_meta();?>
</div>

Now it looks like this. Pretty great.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.