0
Welcome Guest! Login
0 items Join Now

limits to rt-image responsive layout

    • Houston's Avatar
    • Houston
    • Elite Rocketeer
    • Posts: 1077
    • Thanks: 2

    limits to rt-image responsive layout

    Posted 12 years 1 month ago
    • Is there a min to the size image that this class has on an effect on?'

      I ask because I have used it on an image at [url=http://localhost/~houston/highport/index.php/home/events-calendar/event/3-back-in-black]this test site[/url] and it is not working.
      <p class="rs_image rt-image" itemprop="image">
          <img src="<?php echo $details['image_b']; ?>" alt="<?php echo $this->escape($event->name); ?>"  />
      </p>

      What am I doing wrong?

      Many thanks,
      Houston
    • Houston Brown - www.splitlightdesigns.com
      Apache Version = 2.2.2 / PHP Version = 5.2.17 or 5.3.15 (dual)
      mySQL Version = 5.5.21
      Joomla Version = 2.5.8 / Web Servers OS Version = CentOS 6
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: limits to rt-image responsive layout

    Posted 12 years 1 month ago
    • No there is no minimum.
      Your link points to your local host.
      Overall I wouldn't hard code that class anyway.

      Why not just use css?
    • Houston's Avatar
    • Houston
    • Elite Rocketeer
    • Posts: 1077
    • Thanks: 2

    Re: limits to rt-image responsive layout

    Posted 12 years 1 month ago
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: limits to rt-image responsive layout

    Posted 12 years 1 month ago
    • that works for me?
    • Houston's Avatar
    • Houston
    • Elite Rocketeer
    • Posts: 1077
    • Thanks: 2

    Re: limits to rt-image responsive layout

    Posted 12 years 1 month ago
    • The code works or did you actually see the image resize when you decreased the width of your browser?
    • Houston Brown - www.splitlightdesigns.com
      Apache Version = 2.2.2 / PHP Version = 5.2.17 or 5.3.15 (dual)
      mySQL Version = 5.5.21
      Joomla Version = 2.5.8 / Web Servers OS Version = CentOS 6
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: limits to rt-image responsive layout

    Posted 12 years 1 month ago
    • the image decreased ....
    • Houston's Avatar
    • Houston
    • Elite Rocketeer
    • Posts: 1077
    • Thanks: 2

    Re: limits to rt-image responsive layout

    Posted 12 years 1 month ago
    • in chrome it seems to work but only starts shrinking when there is about 2 words per sentance on the right side of the image.

      In Firefox 19.0.2 it does not work at all.
    • Houston Brown - www.splitlightdesigns.com
      Apache Version = 2.2.2 / PHP Version = 5.2.17 or 5.3.15 (dual)
      mySQL Version = 5.5.21
      Joomla Version = 2.5.8 / Web Servers OS Version = CentOS 6
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: limits to rt-image responsive layout

    Posted 12 years 1 month ago
    • add

      p.rt-image {max-width: 100%}

      to your css ...
    • Houston's Avatar
    • Houston
    • Elite Rocketeer
    • Posts: 1077
    • Thanks: 2

    Re: limits to rt-image responsive layout

    Posted 12 years 1 month ago
    • Thank you sir.
    • Houston Brown - www.splitlightdesigns.com
      Apache Version = 2.2.2 / PHP Version = 5.2.17 or 5.3.15 (dual)
      mySQL Version = 5.5.21
      Joomla Version = 2.5.8 / Web Servers OS Version = CentOS 6

Time to create page: 0.070 seconds