I have a created a custom post type and gave it a field of image which can contain a gallery. When I'm inside content.php
I can call up all available data such as title, postmeta and such just fine but some of the post's images are given width=1 height=1
in the <img>
if I use the_post_thumbnail('medium')
or the_post_thumbnail(array(300,300))
.
Im not sure if there is a database issue or a fault with the image that I'm unaware of.