TB Wall

Outputting an Image from a view

+1
0
-1

I am trying to build a special view that outputs an image.

In my view TPL files to output the image I use this expression


?php print $fields['field_photos']->content; ?

And I expect to get an out put like

img src="http://www.site.com/sites/default/files/styles/col-md-6__460x260/public/lead/logo.jpg?itok=jwbaYmvU" width="460" height="260" alt="" /

But the output is coming out like

The menu bar in mobile view doesn't fit the screen.

+1
0
-1

You can see the pictures attached. I'm using the the retro theme. You can see the media bar isn't centered.

Left Menu Block Disappears

+1
0
-1

Every so often the Left Menu Block just disappears. I hit refresh and it appears again. But it will do it again down the road. Is there anything I can do to keep this from happening?

How do I change the teaser display links content?

+1
0
-1

If you go into views and select content as a format, then teaser there's an additional option to "'display links'". The content of the links changes for different content types. I wanted to know where I can access the code so I can make it standard for each content type.

If you look at the front page the teaser links are different depending on the content type: http://thepoliticus.com/

Issues with lazyload images not loading

+1
0
-1

Hello

I seem to run into this and then it magically fixes itself, and then it starts happening again and I have no clue as to why. If I look at my website, the images are not loading, at all. None of them. It's not an issue with S3 because if I select another theme as default, the images load fine.

What I see if I inspect the blank space where an image should be in html is:

Pages

Subscribe to RSS - TB Wall