hello—
several months ago i made a view for a blog page that used a custom image size for my blog page (hidden link).
recently, the featured image has stopped working (see the broken image link on the top post, scroll down to see earlier posts working fine).
when i inspect the image, it looks like the view is adding some code to the featured image url which is why the broken link is coming up but i cant figure out why its adding this extra bit:
here is the code im using in my view:
[php]
<div class="news-container">
<div class="news-featured"> [wpv-post-featured-image size="custom" width="1000" height="300"]</div>
<div class="float quarter">
<div class="news-month">[wpv-post-date format="F"]</div>
<div class="news-day">[wpv-post-date format="d"]</div></div>
<div class="float three-quarters"><div class="news-title">[wpv-post-link]</div>
<div class="news-excerpt">[wpv-post-excerpt]</div></div>
</div>
<hr class='news-divider' />
[php]
can you tell me how to get my featured images to show up?
thanks!
When you use a custom image size like this in the featured image shortcode, Types should automatically generate a resized image file with that extra text in the filename. In this case, -1000x300
[wpv-post-featured-image size="custom" width="1000" height="300"]
I'm not sure why there is an _1000x300 in the file name, though. Can you tell me more about the original image? What was the original image file name, and what was its original size?