Active
Project:
One Page CV
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2013 at 03:37 UTC
Updated:
12 Jun 2013 at 09:15 UTC
The problem is there's a misspelling in themes/opcv/templates/views/views-view-list--featured-projects--block.tpl.php around line 20.
First of all, sites/default/files/styles/large/public/1_5.jpg does not exist.
Secondly, the URL is not correct.
It should be: <img src="<?php print $GLOBALS['base_url'] . base_path(); ?>/sites/default/files/styles/large/public/1.jpg" alt="" />
Comments
Comment #1
Jeffrey C. commentedIn the end I slightly modified the code again, to make sure the image for the latest project is loaded, instead of having to update the code every time a new project is created.
themes/opcv/templates/views/views-view-list--featured-projects--block.tpl.php, line 19~22Comment #2
rterrero commentedSolution #1 works for me. Thanks!!!