Jump to content

Images show in backend and in database but not returning front end


a-ok
 Share

Recommended Posts

I'm uploading around 300+ images to an image field across a few pages. They show in the backend, and using TracyDebugger I can see all the images (see attached) but on the front end they're returning a count of zero like they don't exist. I can't seem to be able to delete an image from it either (it just keeps showing after deleting and saving).

`bd($pages->get(1057)->gallery_topic_images)` returns a count of 0. They show in the database too. It's only on the front end that it's an issue. Do you think I have too many images? Is it crashing out on the front end?

Previously sections using the same field seem to work fine.

Screen Shot 2018-12-12 at 11.46.42.png

Link to comment
Share on other sites

4 hours ago, a-ok said:

It's only on the front end that it's an issue

Do you have debug-mode enabled? Do you get any errors? How exactly are you pulling the images in your template? And what's the field setting? (field settings: Details tab > formatted value) Is it set to "array of items"? Also check the "access" tab in the field settings, just to be sure.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...