To insert code use <code>...</code>.
In Nivo Slider, images become larger (in terms of file size/ "weight") than the original ones
  • Hi,

    I use some well optimized images for my Nivo Slider but somehow Striking is making them around 15% larger (larger file size/ "weight") once they are set as featured images. Is there any way to stop this behavior?

    I am not using Timthumb ("Use Timthumb" is set to OFF on the Striking Advanced panel).

    Thanks.

    Best Regards
    --
    Diego
  • 10 Comments sorted by
  • Hi Diego,

    I think you will have to remake them for the featured image area. Because of the different size of the box they are handled differently.

    Could you try to make on exact fit into the featured image box? And see what happens then?

    So a newly created image just for that box only and upload it into the media? So you have the image twice in your wordpress media . Once for the slider and once for the featured image.

    Best regards,
    Striking Team
    Paul

  • Hi Paul,

    My Slideshow has the default 960x440 px and all my images were already fitting those dimensions, it is what you meant, didn't you?

    Just in case my first comment was confusing, when I was talking about the "featured image" I was just making a reference to the step of uploading each image to its slide item. The problem is that the images on my site's slider are larger (weight more) than the original ones.

    Thanks.

    Regards,
    Diego
  • BackuPs said:

    ...So i suggested to create optimized images for the featured image container. Since they are not the same in size as the slider images....



    Hi Paul,

    Sorry if I am missing something basic but, as far as I know, for each slider item there is just one image, the one set as "featured image". I mean, there are not two images per slider item, the "slider image" and the "image for the featured image container", just the last one. Am I doing something wrong? What I do in order to create a new slider item is:

    New item >> I set the featured image >> Choose a category >> Publish

    Maybe I am misunderstanding the word "container" when you talk about "featured image container".

    Thanks for your patience.

    Regards,
    Diego
  • Hi Diego,

    I think i mixed something up. It must be weekend. I thought you also use the featured images as featured images in blog post. LOL

    Forget what i said. I will dive into this because i am not aware of the nivo slider expanding the images by 15%. That would be rather strange.

    Best regards,
    Striking Team
    Paul

  • Hi Paul,

    Anything and Accordion sliders are doing the same, though Anything Slider expands the images a little bit less than the other two.

    Thank you very much.

    Have a nice weekend.

    Diego
  • We're struggling to optimise for another site: http://www.webpagetest.org/result/120727_78_BEE/1/details/

    1) We are struggling to compress the images. We compress them then it still shows as an error. It's like there is a script that runs and resizes them for the slider.

    Eg.FAILED - (29.7 KB, compressed = 4.7 KB - savings of 25.0 KB) - http://personalfitnesstrainer.co.za/personal-fitness-trainer/Yoga-Cape-Town.jpg
    WARNING - (94.7 KB, compressed = 79.2 KB - savings of 15.5 KB) - http://personalfitnesstrainer.co.za/wp-content/themes/striking/includes/timthumb.php?src=/personal-fitness-trainer/Personal-Fitness-3.jpg&h=442&w=960&zc=1

    It seems you have a script that expands images!
  • Hi

    Please goto the striking advanced settings and turn off timthumb and turn on clear cache. Save the settings. Just dont use timthumb anylonger please !!!

    as for

    Eg.FAILED - (29.7 KB, compressed = 4.7 KB - savings of 25.0 KB) - http://personalfitnesstrainer.co.za/personal-fitness-trainer/Yoga-Cape-Town.jpg

    the link to the image. that cant work because it is a jpg which cannot be in a dynamic created path to a page which only exists within the wordpress internal system. I dont know where that link is coming from. I have to see the page the image is inserted in. Anyway it is timthumb related and can be avoided by turning timthumb off.

    i wonder what version of striking you are using because the image name should have a id attached to it. Moreover i see all old code files from a earlier striking version at your website (old script files). Please upgrade to the latest version. You cannot expect us to search a bug or any other error in a previous version of striking which might have been already fixed in the latest version of the theme. Thats why we supply updates.

    Best regards,
    Striking Team
    Paul
  • Hi Paul

    1) I have latest version of striking. I just checked. "Updating Theme to the latest version.
    You are using the latest version. " I think my IT did some bad work possible and left a few old files around. (How do I remove these?)
    2) When I switch off timthumb images do not show. See http://personalfitnesstrainer.co.za/about/ nor does my slider show.
    3) I have the exact same issues with another site lab41.co (where if I switch of timthumb the images do not show)

    Any ideas?

  • Sent you a pm so I can send you access details to check.
  • Hi,

    I was just wondering if this behavior has been solved in version 5.1.9. as I've seen that the changelog says "Fixed : image resize issue"

    Thanks.

    Regards,
    Diego