0
Welcome Guest! Login
0 items Join Now

Joomla Articles Particle Image Issues

    • Dan Walker's Avatar
    • Dan Walker
    • Elite Rocketeer
    • Posts: 529
    • Thanks: 21
    • Designer/Developer

    Joomla Articles Particle Image Issues

    Posted 6 years 2 months ago
    • The Joomla Articles particle does not work at all to display images when you aren't displaying the text. The yaml code is written in such a way that you should be able to display only images or images and text, but the image code does not work at all.
    • Dan Walker - Web Designer & Developer @ Top Webs Network
      Custom Joomla & Wordpress Websites
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Joomla Articles Particle Image Issues

    Posted 6 years 2 months ago
    • As the name implies the purpose of the particle is to display article content which may also be augmented with the articles images. It’s not meant to be a slideshow or image gallery or image grid there are other particles that can pull joomla content for that purpose.

      If you that strongly about it though you are welcome to submit a pull request on the Gantry 5 github project.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Dan Walker's Avatar
    • Dan Walker
    • Elite Rocketeer
    • Posts: 529
    • Thanks: 21
    • Designer/Developer

    Re: Joomla Articles Particle Image Issues

    Posted 6 years 2 months ago
    • First of all, I'm trying to report a bug. Here's the first code of the yaml file, which does not work at all. Secondly, is there another particle that will allow me to select categories, sort them in different ways and pull the intro image into an image grid, linked to the article with title and category? If so, please let me know. It seems the Joomla Articles particle is meant for this purpose.
      {% block particle %}
      
          {# All Articles #}
          <div class="g-content-array g-joomla-articles{% if particle.css.class %} {{ particle.css.class }}{% endif %}" {{- attr_extra|raw }}>
      
              {% for column in articles|batch(limit.columns) %}
                  <div class="g-grid">
                      {% for article in column %}
      
                          <div class="g-block">
                              <div class="g-content">
                                  <div class="g-array-item">
                                      {% if display.image.enabled and article.images.image_intro or article.images.image_fulltext %}
                                          {% if article.images.image_intro and display.image.enabled == 'intro' or display.image.enabled == 'show' %}
                                              <div class="g-array-item-image">
                                                  <a href="{{ article.route }}">
                                                      <img src="{{ url(article.images.image_intro) }}" {{ article.images.image_intro|imagesize|raw }} alt="{{ article.images.image_intro_alt }}" />
                                                  </a>
                                              </div>
                                          {% elseif article.images.image_fulltext and display.image.enabled == 'full' %}
                                              <div class="g-array-item-image">
                                                  <a href="{{ article.route }}">
                                                      <img src="{{ url(article.images.image_fulltext) }}" {{ article.images.image_fulltext|imagesize|raw }} alt="{{ article.images.image_fulltext_alt }}" />
                                                  </a>
                                              </div>
                                          {% endif %}
                                      {% endif %}
    • Dan Walker - Web Designer & Developer @ Top Webs Network
      Custom Joomla & Wordpress Websites
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Joomla Articles Particle Image Issues

    Posted 6 years 2 months ago
    • Ok if you want to report an issue (or "bug") for Gantry 5 which is an opensource project then the correct place to report it to the Gantry 5 development team is here https://github.com/gantry/gantry5/issues . The "Joomla Articles" particle is part of CORE Gantry 5 and not part of the Rockettheme products.

      You can find a matrix of all the Gantry 5 particles produced in rockettheme template here https://rockettheme.com/forum/gantry5-for-joomla/274835-gantry-5-particles-the-matrix-v1-08 . If there is not a particle that meets your exact requirements there then there are plenty of examples of code within those particles that should allow you to develop your own.

      I hope that helps,

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.053 seconds