Skip Navigation

[Resolved] Pictures are not showing

This thread is resolved. Here is a description of the problem and solution.

Problem: I have a View of posts that should display pictures but some of them are not appearing.

Solution: Reinstall Types, then add featured images to the posts that are missing images.

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 6 replies, has 3 voices.

Last updated by Christian Cox 6 years, 3 months ago.

Assisted by: Christian Cox.

Author
Posts
#1080186

We have uploaded images for our posts, but they aren't showing on the front end.
Can you see why. I don't know why we have so much problems with this plugin. Every site seems
to be having some sort of issue.

#1080220

When you open tickets in Toolset Support, you should have a chance to submit private details.

Please choose that next time, because your access details where public, for everyone to see, until I have deleted them just recently from your post, as I started to replying to it.

Related to the images, this depends where you uploaded them and how you display them

In Toolset you can usually upload images in the Image Field type.
That then needs to display it's images with a ShortCode that you can place anywhere:
https://toolset.com/documentation/customizing-sites-using-php/functions/

However, for any Field to work it needs posts, and you have no posts on the site, as I checked before I deleted the access details.

There are just pages, and those have no images.
The only view you have is not querying any Post type, and that is required.
I see that in this View's loop you added code to display featured images, however, those belong to posts, so if there are no posts there will be no images either.

That View, as soon you assign it to some post type, and that post type has featured images attached to it's posts, then it'll display the featured images in the Page where you insert this View.

#1080242

Hi, thank you so much for your reply. First of all, I had someone create this toolset set up for me for several of my sites and it has been working just fine. All of a sudden the images quit showing and I've not made any changes at all.
I have no idea how to fix any of this because I didn't set it up. I cannot get in contact with the guy anymore to help me.
But what could have gone wrong? I have all my websites set up the same using toolset. I only use it for one page only.
The Puppies for Sale page.
Can you please get the images to show again? I use this for my clients and was hoping Toolset was what I needed, but as I use it more, I keep running into more and more problems with things stop working. I'm just so disappointed so far in toolset after being so happy with it. I want to leave my credentials if you need to use ftp, so where do I put them?
thanks so much.

#1080676

Hi, it looks like something is wrong with the Toolset Types plugin directory. When I go to the admin plugins page, the Types plugin does not appear to be installed:
hidden link
However, if I try to install it again, I see an error that the directory already exists. So what I think is happening here is there was a problem during the plugin update process, and the Types plugin has become corrupted. Please uninstall and reinstall Types to see if this fixes the problem. Here are the steps in that process:
1. Go to https://toolset.com/account/downloads and download the latest Types plugin, version 3.0.7.
2. Log in to your server with FTP
3. Delete the old Types plugin directory at wp-content/plugins/types
4. Log in to wp-admin and install Types again using the zip file you downloaded from toolset.com
5. Activate Types and check the frontend of the site again. Your images should begin to appear.

I will be glad to do this for you if necessary. I will need FTP access to your server. Private reply fields are active here.

#1081384

Okay I have Types installed now, but the top 3 images still aren't appearing. I took a look at this View, and it appears that the issue is here:

<div class="col-sm-4 listing-view-img">[wpv-post-featured-image size="medium" class="list-image-style" alt='%%ALT%%' title='%%TITLE%%']</div>

The View is trying to show the featured image, but none of the top 3 posts have a featured image. Only the post "Pearl" has a featured image, and it is now appearing in the View as expected. So please add a featured image to each of the 3 other Dog posts, and let me know if the problem is not resolved.

#1082640

OK, I just tested it out and it seems ok for me now. Maybe my client didn't upload a featured picture. I'm not absolutely sure.
Thank you so much for uploading the new version. Wonder why it wouldn't work for me?
Hope this is resolved now and thanks so much for helping me with this.
Lisa

#1082999

Hard to say why it didn't work for you, maybe there was a network problem during the file transfer process, or maybe the automatic update process experienced an error. At any rate, feel free to reopen the ticket if the problem returns and we'll take another look.