Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • islandview Friend
    #139301

    Hi there,

    This issue came up as a ‘sub-plot’ in another forum post – but it probably warrants the attention from having it’s own thread.

    Originally came up in http://www.joomlart.com/forums/topic/opal-ignores-category-blog-layout-rules/ and attached .jpg’s to my posts there show it visually….

    Article thumbnails seem to get shrunk down? My articles start with 100px by 100px images – ie that’s what got put into the Joomla Article editor. Now with Opal, on Category Blog layout, it creates a 100 x 100 frame – but the actual images inside gets super-shrunk and much smaller than that…. How can we stop that happening?!?!!!

    Anonymous Moderator
    #296963

    Hi acbonner,

    For this case, please open templatesja_opalhtmlcom_contentfrontpagedefault.php file, find following code to change:

    + For leading:

    [PHP]//Leading image size
    $this->imageWidth = 310;
    $this->imageHeight =230;[/PHP]

    + For intro:

    [PHP]//intro image size
    $this->imageWidth = 185;
    $this->imageHeight = 115;[/PHP]

    islandview Friend
    #296975

    Thanks – This helped (for me it was the category/blog.php file to change – but same principle)

    However I thnk I’ve found a bug now whilst working with com_content/category/blog.php….

    1) I set imageWidth and imageHeight on both ‘Leading Image size’ and ‘Intro Image size’ to 100px and everything looks fine for me…. So far so good….

    2) If I then change the imageWidth and imageHeight on just the ‘Leading Image Size’ then that frame / image resizes fine, BUT it then shrinks the images in my other non-lead articles within their frame (This is the pic attached) – even though their settings remain 100px width and height???

    (Note: In the pic attached the top leading image is only a 100px by 100px image – so I’m not concerned here about the black space in that first pic frame – I understand that’s because my original image is 100 by 100)

    Make sense? Is this a confirmed bug???? Can it be fixed?!!!


    1. problem
Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  islandview 15 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum