Before you ask please READ THIS

Use apollo-thumb size in main portfolio page

edited December 2012 in Skyfashion Posts: 17

I'm trying to customize the code for the main portfolio page, vertical image list layout to display thumbnails instead of the full column width images so I can so more images at once in the column. This appears to be the code I need to edit in apollo13.php

<code><a class="alpha-scope alpha-scope-image no-border" href="' . $slide['src'] . '" rel="group"><img src="' . $slide['src'] . '" ' . $slide['attrs'] . ' ' . $img_style . ' /></a><code>

How could I add the -220x150 part into the img src above? Or is there another way to pass that attriubute to the image tag. Something like the latest portfolio thumbs on the homepage:

<?php $apollo13->portfolio_get_icon(220, 150); ?>

or reference the apollo-small-thumb size. (add_image_size('apollo-small-thumb', 220, 150, true); Thanks much for the help, the site is coming along!!

Post edited by surferboy on

Comments

  • edited December 2012 Posts: 0
    Hi,

    <a class="alpha-scope alpha-scope-image no-border" href="' . $slide['src'] . '" rel="group"> <img src="' . $slide['src'] . '" ' . $slide['attrs'] . ' ' . $img_style . ' /></a>
    this code is for portfolio details page. Do you want to change main portfolio page or details page?

    Best,
    Miłosz
    Post edited by [Deleted User] on
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion