Jump to content

Images from nested repeaters don't load with pagefileSecure turned on


Recommended Posts

I'm developing a digital asset management system and using pagefileSecure to protect my assets folder. Thumbnail images are loaded on my main page via ajax. The source pages have repeaters for images each of which includes its own nested repeater for image variations (eg a version of the parent image with a bluer sky).

If I log in as any role other than superuser, the nested images fail to load with a 404 error. If I turn off pagefileSecure, the images load for all users. I'm using Processwire 3.0.98 and PHP 7.1.18

Does anyone know if there's a way to get nested repeater images to load with pagefileSecure on, or do I need to have a rethink?


Link to comment
Share on other sites

I haven't needed to use pagefileSecure before, but it sounds to me like a permissions bug relating to the fact that non-superusers have limited access to repeater pages. There have been a few such issues in the past.

Unless someone chimes in with a solution I suggest raising a issue in the GitHub repo: https://github.com/processwire/processwire-issues/issues

Link to comment
Share on other sites

6 minutes ago, Pablos said:

Thanks for that Robin. I left a comment on an existing issue.


Looks like I'll have to approach my variation images another way.

As stated by @Robin S, you will need to open an issue at the current ProcessWire Version 3.x Github Repo at:  https://github.com/processwire/processwire-issues/issues

The Github repo where you left a comment at is not for the current 3.x version of ProcessWire.

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

  • Recently Browsing   0 members

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