This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Image sizes in Post List

  • Creator
    Topic
  • #7036
    Martin
    Participant

    Hi Jason,
    found a bug in Jump Start 1.0.2, which affects only IE (tested on IE 8 and IE 9). It seems, that IE ignores width and height parametres and displays images at their original size. Look at your demo in IE:

    http://www.themeblvd.com/demo/jumpstart/

    Martin

Viewing 12 replies - 1 through 12 (of 12 total)
  • Author
    Replies
  • #7037
    Jason Bobich
    Keymaster

    I’m sorry but I’m not quite following. Here’s what I see:

    IE8: http://www.uploadblvd.com/uploads/image_5157128360e4b.png

    IE9: http://www.uploadblvd.com/uploads/image_515712d757100.png

    Am I missing something?

    #7043
    Martin
    Participant

    Hi Jason,

    I see this or this.

    #7045
    Jason Bobich
    Keymaster

    Hmm, not sure on that one. Now I’m on a different computer and even trying this Net renderer website you’re using.

    http://www.uploadblvd.com/uploads/image_5157188ce0f76.png

    http://www.uploadblvd.com/uploads/image_515718a3c54c6.png

    … Possibly a caching thing since the last update to the demo?

    #7048
    Martin
    Participant

    Hmmm,
    http://www.themeblvd.com/demo/jumpstart/ is now OK in netrenderer but not on PC.
    This one http://www.themeblvd.com/demo/jumpstart/?child=boxed looks ugly on both netrenderer and PC.
    Even when I test your 1.0.2 demo on my localhost, it has same bug in IE… I will continue to investigate.

    #7051
    Martin
    Participant

    Interesting: as soon as I uncheck width: auto; in CSS, everythink looks OK:
    http://d.pr/i/aEs.

    It seems like width: auto; tells IE to ignore inline img width atribute <img width="195" ... and forces to show image in its native size, which is 1024 x 540.

    #7052
    Jason Bobich
    Keymaster

    Ok, I think I see where the confusion is between us, and I am now seeing the issue.

    The demo is set to show “full-width” thumbnails, but when you put in ?child=boxed onto the URL the demo’s theme options don’t get applied and it’s pulling the default framework options, which includes showing “small” thumbnails.

    So, in other words the “small thumbnails” appear to have the issue.

    On the demo load ?child= to clear the cookie and then refresh, and you should see the default.

    #7053
    Jason Bobich
    Keymaster

    Aww… I see. The CSS you’re referncing is part of Bootstrap and needs to remain, but the issue is that the proper images aren’t being shown with the small thumbnail option. When working with the small thumbnails that are floated like that, they need to be the proper size, but the proper image size isn’t being displayed. I’ll look more into this.

    #7055
    Jason Bobich
    Keymaster

    So this wasn’t an issue with Jump Start, but with the live demo itself. It didn’t have all the proper image sizes generated. I ran the re-generate thumbnails plugin and now it looks like everything is good to go.

    Thanks for pointing this out to me.

    #7056
    Martin
    Participant

    Thanks Jason, your demos now looks OK…

    #7070
    Martin
    Participant

    Hi Jason,
    now I see, why I had similar issue (big images in post list) on my local server. I completelly deregistered framework’s default crop image sizes and defined my own set with different names. But I see that the post list requires tb_small or tb_medium sizes to be defined (set in Apperance > Theme Options > Content >┬áPrimary Post Display).

    Is there any function to assign my newly defined sizes to be used as default sizes for options “Show small thumbnails” and “Show full-width thumbnails” ?

    Thanks
    Martin

    #7073
    Jason Bobich
    Keymaster

    When you call the thumbnail function from where you’re displaying the post in the loop (i.e. content.php, content-list.php, etc), you’d just pass in whatever size you want.

    if( themeblvd_get_option( 'blog_thumbs' ) == 'small' )
    	$my_size = 'my_small';
    else
    	$my_size = 'my_other_size';
    
    themeblvd_the_post_thumbnail( themeblvd_get_att( 'location' ), $my_size );

    But is there a reason to use your own size? Why not just change the dimensions of tb_small and tb_medium?

    http://dev.themeblvd.com/tutorial/crop-sizes/

    #7075
    Martin
    Participant

    The reason was, that I needed to add some more sizes and wanted them to be arranged from the largest to smallest one. I also set them more descriptive names, based on fractions of page width (1/1, 2/3, 1/2, 1/3, 1/4, 1/6 …)… it was easier for me to define completelly new sizes than tweak frameworks default image sizes.

    In some future projects I plan to use 1200px layout instead of default 940px grid system, so I also reworked my function – it now calculates all image sizes from the variable with actual page width.

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.