0
Welcome Guest! Login
0 items Join Now

RocSprocket: Image Resize not working on URLs

    • stoople's Avatar
    • stoople
    • Newbie
    • Posts: 16
    • Thanks: 0

    RocSprocket: Image Resize not working on URLs

    Posted 11 years 2 months ago
    • I use an image server for all of my images and noticed that image resizing works for uploaded images but not URLs.
      (rocsprocket 2.06 on clean install of Joomla 3.2.2, content privider is Joomla, type is Features, theme is Slideshow, all else defaults)


      Can this be modified to work on URLs as well? This would reduce a lot of duplication of work from having to store the same images in multiple locations or having to create multiple image sizes.
    • stoople's Avatar
    • stoople
    • Newbie
    • Posts: 16
    • Thanks: 0

    Re: RocSprocket: Image Resize not working on URLs

    Posted 11 years 2 months ago
    • The URL max-width and height properties are hard coded in

      components/com_roksprocket/layouts/features/themes/slideshow/item.php

      at line 21
      <a href="<?php echo $item->getPrimaryLink()->getUrl(); ?>"><img src="<?php echo $image->getSource(); ?>" alt="" style="max-width: 100%; height: auto;" /></a>

      Is there a function available to retrieve these values?

Time to create page: 0.064 seconds