Skip Navigation

[Resolved] Image gallery not showing as thumbnails

This support ticket is created 6 years, 5 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.

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 11 replies, has 3 voices.

Last updated by mandyM-2 6 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#1091242

I am trying to: add an image gallery into a layout tab.

Link to a page where the issue can be seen: hidden link

I expected to see: images showing as thumbnails and opening to full size in lightbox

Instead, I got: images are showing at full size instead of thumbnails

#1091880

I see that you have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
I suggest to either disable Toolset Maps or the other 3rd party Maps provider.

Related to the Images, there are some issues with Types Image Fields if:

- the URL of a resized version of an image uploaded to a Custom Image Field is used:
The expected output would be an URL of the Media, with a suffix like -wpcf_100x100.png (where 100*100 is the custom size), instead, the URL of the original Media Upload is output (without suffix) which translates to full images.

- This will be solved in the coming Types release.

I am not entirely sure how you inserted those images however so I cannot define if this is the same issue, and I would need to know:
- if inserting the same ShortCode you use in the layout tab (if any) works in a simple clean new page
- If not, can you let me know how you insert and display those images usually? (Image Field + ShortCode, Slider, Media uploaded to WordPress, or..)

I can then either try to replicate this scenario or instruct wether you have to wait for a fix, or can solve it with another approach.

What I usually do when I want a gallery in a Tab, is to create a View, which creates my gallery.
Then I place that View in the Layouts tab.

That works fine locally.

#1092281

thanks for the reply. i am using the following shortcode to display the images
[wpv-for-each field="wpcf-listing-gallery"]
[types field='listing-gallery' title='%%TITLE%%' alt='%%ALT%%' size='thumbnail' resize='crop' separator=', '][/types][/wpv-for-each]

if i use this shortcode outside of the tab (in a new row), then it works, and for some reason the shortcode inside the tab then also shows the images as thumbnails? However, when i delete the row and just have the shortcode in the tab, then the images revert to full size instead of thumbnail

#1092399

Hi, let's try the following troubleshooting steps first:
- Temporarily activate a default theme like Twenty Seventeen and deactivate all plugins except Types, Views, and Layouts. If you need to activate a Maintenance Mode plugin during testing that's fine.
- Test again. If the problem is resolved, activate the parent theme, then the child theme, then other plugins one by one until the problem returns. Let me know what you find out.
- If the problem was not resolved, I'll need to take a closer look.

#1092968

Hi, changed to Astra theme, deactivated all plugins and images still showing as original size. switched to 2017 theme and the same issue

#1093157

Okay thanks, may I log in and take a look in your wp-admin area to see how things are set up? Private reply fields are enabled here so you can share login credentials.

#1093225

Okay thanks, I don't see anything obviously wrong here. I think the next step is for me to create a clone of this site so I can run some additional tests. If I can have access to the network admin panel I can install Duplicator Pro and clone just this site, so I can run tests locally. If that's not okay, we'll need to come up with another approach for testing.

#1094499

apologies for the delay in replying. i have amended your privileges to allow you access. I already have Updraftplus installed, which can clone the site for you. If you need a copy of the plugin for your testing site, please let me know how i can send it to you

#1095100

I'm having a lot of trouble testing your site locally, any page request takes several minutes to complete. I deactivated all plugins except Toolset to try to speed things up. Then I went to Toolset > Settings > Custom Content and checked "Add resized images to media library". After those changes, I edited a Listing and added a new image. Then I checked out the listing on the front-end of the site, and the new image was shown at the thumbnail size. The existing gallery images were still shown full-size. Can you try the same test on the live site and let me know the results? Or if it's okay for me to do testing there I can do it.

#1095724

Hi, Add resized images to media library was already checked. what i dont understand is why thumbnails are working on my 'Places' custom type. it is exactly the same code

#1096174

what i dont understand is why thumbnails are working on my 'Places' custom type. it is exactly the same code
Right, the source of this problem isn't obvious and my guess is it has to do with resized image caching by Types. I asked for the additional test on your live site to confirm the behavior I'm experiencing locally when I have other plugins disabled. If the behavior on your live site is the same, then that points towards a plugin conflict with image caching by Types. I can try to isolate the conflicting plugin through more local testing. If the behavior on your site is not the same, then I must consider other possible sources of the problem.

#1101434

resolved thanks