Forum

Thread tagged as: Question, Problem, Members

Members page images

My image wont show up on the members page It worked fine for a logo image

<section class="">
  <div class="container">
    <div class="parallax-window" data-parallax="scroll" data-image-src="<?php perch_content('Member Header'); ?>" sizes="100vw"></div>
  </div>
</section>

this is what is output but it isn't showing

<section class="">
  <div class="container">
    <div class="parallax-window" data-parallax="scroll" data-image-src="/login/resources/header3.jpg" sizes="100vw"></div>
  </div>
</section>
b lewis

b lewis 0 points

  • 3 years ago
Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

What output are you expecting?

b lewis

b lewis 0 points

the output is what i'd expect the image just isnt showing

Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

If the image /login/resources/header3.jpg exists, it is probably down to your frontend code. You're not using a regular <img> tag.

It looks like you're using parallax.js, so it might be a good idea to check whether you're using it correctly. It looks like all you need to do is add jQuery and parallax.js to your page.

b lewis

b lewis 0 points

it works on all regular pages, its just not working on /members/pages

Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

This doesn't sound like a Perch-specific issue, so try to solve it like any other frontend issue you come across.

Did you open your browser dev tools? Do you see any errors in the console? Did you confirm the required scripts load correctly?

b lewis

b lewis 0 points

got it thank you