Jump to content

[SOLVED] Images only appear when logged in as admin


Troost
 Share

Recommended Posts

Hiya,

I'd searched the forums but only found answers for multilingual sites.
This is a non multilingual site.

I'm currently busy with a website but i't wont show the images like it does over here. (Only when I'm logged in as admin).
I looked at the roles of the Guest, and it seems that everything is ok.

Thanks in advance.

 

[SOLVED]

The field itself wasn't set to view for guests

 

 

 

 

 

Schermafbeelding 2017-07-01 om 14.49.33.png

Link to comment
Share on other sites

Just wondering, is this supposed to be commented out in the template?

<!-- echo "<li class='item'><a href='#' data-featherlight='#mylightbox" . $childIndex . "'><img id='mylightbox" . $childIndex . "' src='{$image->url}' class='image'></a><p class='worktitle' alt='worktitle'>$child->title</p><p class='omschrijving' alt='omschrijving'>$child->image_description</p><p class='formaat' alt='formaat'>$child->formaat</p></li>";  -->

I am not too familiar with the featherlight gallery, but I noticed an error in the console as well that "prototype" was undedefined in the .js file.

  • Like 1
Link to comment
Share on other sites

16 minutes ago, louisstephens said:

Just wondering, is this supposed to be commented out in the template?


<!-- echo "<li class='item'><a href='#' data-featherlight='#mylightbox" . $childIndex . "'><img id='mylightbox" . $childIndex . "' src='{$image->url}' class='image'></a><p class='worktitle' alt='worktitle'>$child->title</p><p class='omschrijving' alt='omschrijving'>$child->image_description</p><p class='formaat' alt='formaat'>$child->formaat</p></li>";  -->

I am not too familiar with the featherlight gallery, but I noticed an error in the console as well that "prototype" was undedefined in the .js file.

 

Thanks for your reaction,

Yeah, thats a thing for myself. I need to add the description from fields underneath the lightbox image, but I can't get that fixed either :p.

So I commented it out for myself to play a bit with...

 

I looked at the console and commented that out, now the error is gone.

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...