Skip to content

Commit

Permalink
local environment and work page resize images
Browse files Browse the repository at this point in the history
  • Loading branch information
bak11004 committed Apr 28, 2016
1 parent e096143 commit f967545
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions env/local.env
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
WORDPRESS_DB_HOST=develop.digitalmediauconn.org
WORDPRESS_DB_USER=ation
WORDPRESS_DB_PASSWORD=ationmedia
WORDPRESS_DB_NAME=ation
WORDPRESS_TABLE_PREFIX=wp_
2 changes: 1 addition & 1 deletion www/wp-content/themes/ation2016/templates/page-work.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% for project in work %}
<a href="{{project.link}}">
<div class="block {% for service in project.terms('service') %}{{service.slug}} {% endfor %}">
<img src="{{project.thumbnail.src}}" class="img-responsive">
<img src="{{project.get_thumbnail.get_src|resize(300)}}" class="img-responsive">
</div>
</a>
{% endfor %}
Expand Down

0 comments on commit f967545

Please sign in to comment.