Jump to content

403 error on all image fields...


svitcov
 Share

Recommended Posts

Welcome to the forums Svitcov!

Looks like you are trying to directly access the assets folder using a PHP file that is not a template file? If that is the case, PW will block you from directly accessing that and other folders, e.g. /site/templates/ using your own PHP files.

Link to comment
Share on other sites

Hi,

your src of the images i sonly the path to the folder, the files-basename is missing!

<img src="/site/assets/files/1011/" />

What do you use in the code of your template-file?

Link to comment
Share on other sites

Welcome to the forums Svitcov!

Looks like you are trying to directly access the assets folder using a PHP file that is not a template file? PW will block you from directly accessing that and other folders, e.g. /site/templates/ using your own PHP files.

@kongondo: I think this is not right. The images reside in the site/assets/files/ folders, and they can be accessed directly. This is normal behave.

@svitcov: your img-urls have no filename, something like myimagename.jpg!

Edited by horst
  • Like 1
Link to comment
Share on other sites

@Horst: I thought he was using a PHP file outside the PW system (i.e., I didn't know it was a template file).

@Svitcov: What is $slide? How does your other code look like just before what you have shown us above?

  • Like 1
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...