Page 2 of 2 FirstFirst 12
Results 41 to 53 of 53

Thread: Page images

  1. #41
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Page images

    I'd have to look at that. I am testing a new version that adds "show all images" instead of the current 1 random image.

  2. #42
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Page images

    I made all the needed changes and committed to the repository.

    From now one, submit issues or feature requests in the Github repository: https://github.com/Ruudt/contao-page_images

  3. #43
    New user
    Join Date
    04-24-13.
    Posts
    2

    Default Re: Page images

    Thank you, works fine now

  4. #44
    New user
    Join Date
    05-31-13.
    Posts
    2

    Default Re: Page images

    Hello,

    I do experience a problem that appears quite mystic to me:

    - I made a category
    - I put a picture in the category
    - I defined pages for this picture
    - I defined a module with the extension that points to the right category
    - all other settings seem also alright to me

    If I integrate this module in an article, the right picture shows up in the article view in the backend, but nothing is showing up in the frontend.

    What am I doing wrong or is it a known issue? Am I missing something?

    I'm using Contao 3.0.6 and version 3.0.0 rc1 of pages_images.

    Any ideas or help?

    Thanks in advance and greetings,
    Boris

  5. #45
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Page images

    Can you check that the category contains only one item that includes the page you are having the problem with? This is a known issue that may cause your problem. So make sure that you have any page selected only once in total per category.

    Is any html outputted?

  6. #46
    New user
    Join Date
    05-31-13.
    Posts
    2

    Default Re: Page images

    Hello,

    right now there is only one single image in this category, so there should be no chance, to select the same page with different items. :-)

    And yes, there is HTMLoutput:

    Code:
    <div class="ce_pageimages block">
    
    </div>
    So, the structure seems to generated, but no image in there. In the backend I can see the right image at the article view, but it's not showing up in the frontend.

    Thank you very much and greetings,
    Boris

  7. #47
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Page images

    Are there any other extensions installed? Is this online, and can I login to check? Or can you send me the db so I can test?

  8. #48
    New user
    Join Date
    12-16-13.
    Posts
    1

    Default

    Whole thing won't work in XHTML

  9. #49
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,112

    Default

    Why not? What's the problem you are facing?
    Contao Community Moderator
    → Support options

  10. #50
    New user
    Join Date
    05-22-12.
    Posts
    9

    Default CSS Background

    I've been using Contao 2.x but tonight I thought it was the right time to install Contao 3.x. Everything works fine expect for my old pageimages_css_background.tpl
    I use this to have a random fullscreen background for my website ('cover'). Any idea how to fix this in Contao 3.2.10? Thanks!

    This is how the old template looked like:

    <?php
    // Copy this template to the TL_ROOT/templates directory and edit to fit your styling needs
    // Default image properties are available src, arrSize, alt and so on...

    $GLOBALS['TL_HEAD'][] = '<style type="text/css" media="screen">
    body, html {
    background: url(\''. $this->src.'\') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    }
    </style>';

  11. #51
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,112

    Default

    Rename the template extension to either ".html5" or ".xhtml" depending on what you have set for the output format in the page layout.

    Did you perform the update to the 3.x version? https://contao.org/en/extension-list...images.en.html
    Contao Community Moderator
    → Support options

  12. #52
    New user
    Join Date
    05-22-12.
    Posts
    9

    Default

    xchs! Life can be sometimes so simple...
    (Yes I already had performed the update)

    Thanks!

  13. #53
    New user
    Join Date
    11-11-14.
    Posts
    1

    Default image into meta-tag

    Hello. I'm new to Contao - working with it only for a few days.

    Is this possibe to add the page image in the template code to the header?

    Something like this:
    <meta property="og:image" content="<?php echo $this->GIVE_ME_PAGE_IMAGE_URL; ?>" />

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •