PagePeeker Thumbnail Size

Discussion in 'Web Directory Script' started by Domenic, Mar 1, 2018.

  1. Domenic

    Domenic New Member

  2. h.struck

    h.struck New Member

    I had the same problem.
    I have solved it by entering the following code in the user-style.css.

    .card__image {
    float: left;
    width: 100%;
    max-width: 150px;
    margin-right: 10px;
    overflow: hidden;
    Dayir_A. likes this.
  3. Dayir_A.

    Dayir_A. Staff Member


    PagePeeker API, which we are using in our Directory script says that there are few sizes available.

    Code (Text):
    t    Tiny, 90 x 68 pixels
    s    Small, 120 x 90 pixels
    m    Medium, 200 x 150 pixels
    l    Large, 400 x 300 pixels
    x    Extra large, 480 x 360 pixels
    So you have to edit /modules/directory/templates/front/list-listings.tpl file
    /templates/YOURTEMPLATE/modules/directory/templates/front/list-listings.tpl if exists

    Change the line
    Code (Text):

    <img src="{$listing.url|escape:url}"class="img-responsive">
    There is a piece with: size=m
    change m letter to other values to get bigger size of thumbnail.
    But I guess CSS styles are also required so @h.struck thank you for your post.


Share This Page