Hello, first time posting here, I've given in to my frustration. I've been trying to implement a one page portfolio site for my client and I cannot figure out why my images aren't loading. I have a single test project under one folder, yet for some reason all four folders are showing up and there's no image source where the image should be.
<img src="" class="logo" alt="theatricallogo" style="opacity: 0;">
I'm not sure if I misconfigured my templates or project folders.
I currently have two pages, one main index.php with all the projects embedded into an html snippet and another for managing all the projects, from a single cloneable project template. The thumbnails and logo images are stored on this project page, but I don't see why they shouldn't show up when called on index.php.
This is a modified Html5Up template (this also means I'm using skel, I'm not sure if this is the cause of the issue either.)
the website is located here [url]glassellhouse.com[/url]
projectlist.html (snippet)
project.php
index.php
<img src="" class="logo" alt="theatricallogo" style="opacity: 0;">
I'm not sure if I misconfigured my templates or project folders.
I currently have two pages, one main index.php with all the projects embedded into an html snippet and another for managing all the projects, from a single cloneable project template. The thumbnails and logo images are stored on this project page, but I don't see why they shouldn't show up when called on index.php.
This is a modified Html5Up template (this also means I'm using skel, I'm not sure if this is the cause of the issue either.)
the website is located here [url]glassellhouse.com[/url]
projectlist.html (snippet)
- Code: Select all
<cms:folders masterpage='projects/project.php' folder=k_folder_name>
<div class="row uniform 100% banner" id="<cms:show k_folder_title />"><div class="12u"><h1><cms:show k_folder_title /></h1></div><div class="overlay2"></div></div>
<div class="row uniform 50%">
<div class="2u"><span class="image fit kiwi"><a href="<cms:show project_link />" data-poptrox="iframe,1800x835" class="image"><img src="<cms:show clientlogo />" class="logo" alt="<cms:show k_folder_title />logo"><div class="overlay"></div>< <img src="<cms:show project_thumb />" alt="<cms:show k_page_title />"></a><p class="caption"></p></span></div>
</div>
</cms:folders>
project.php
- Code: Select all
<?php require_once( '../admin/cms.php' ); ?>
<cms:template title='projects' clonable='1'>
<cms:editable name='clientlogo' crop='0' type='image' />
<cms:editable name='project_thumb' crop='0' type='image' />
<cms:editable name='title_1' type='text' />
<cms:editable name='name_1' type='text' />
<cms:editable name='title_2' type='text' />
<cms:editable name='name_2' type='text' />
<cms:editable name='title_3' type='text' />
<cms:editable name='name_3' type='text' />
<cms:editable name='title_4' type='text' />
<cms:editable name='name_4' type='text' />
<cms:editable name='title_5' type='text' />
<cms:editable name='name_5' type='text' />
<cms:editable name='project_description_col_1' type='textarea' />
<cms:editable name='project_description_col_2' type='textarea' />
<cms:editable name='project_image_1' crop='0' type='image' />
<cms:editable name='project_image_1_caption' type='text' />
<cms:editable name='project_image_2' crop='0' type='image' />
<cms:editable name='project_image_2_caption' type='text' />
<cms:editable name='project_image_3' crop='0' type='image' />
<cms:editable name='project_image_3_caption' type='text' />
<cms:folder name='cat1' title='theatrical' />
<cms:folder name='cat2' title='gaming' />
<cms:folder name='cat3' title='av' />
<cms:folder name='cat4' title='home' />
</cms:template>
index.php
- Code: Select all
<?php require_once ( 'admin/cms.php' ); ?>
<cms:template title='Index' />
<cms:folder name='cat1' title='theatrical' />
<cms:folder name='cat2' title='gaming' />
<cms:folder name='cat3' title='av' />
<cms:folder name='cat4' title='home' />