Jono.Rogers
Forum Replies Created
-
Hi guys..
First post here..
So luckily enough when I ran across this issue, Nivo just announced v3 which has built-in support for flexible image sizes – Nivo Blog
So I looked at fixing this issue by upgrading to Nivo 3. Turns out it’s really easy.
Step 1.
Download Nivo 3, overwrite all content in the nivo-slider/ directory inside the plugin dir with the new files.
Step 2.
Force Header Image Slider to stop using
width
and usemax-width
instead, so that Nivo will play nice..Change line 491 of header-image-slider.php to fix the jQuery for the auto-insert:
Pastebin for line 491 of header-image-slider.php here: PasteBin
For php (boom_header_image()), also change
boom_header_image
andboom_get_header_images
, pastebin for those two methods:
PasteBinEdit: Step 3:
Fix slider-css.php
Overwrite the relevant CSS sections with this: Pastbin
Edit 2:
So, I’m not sure if it was the theme I’m using (Yoko), or just strangeness – but things got weird at small resolutions. Yoko is a responsive theme and does do resizing based on media queries, so I just turned my slider off at small sizes, Pastebin
You can check it out, working and all here
That should be it! Yay, flexible sliders which will auto-resize. Tested in Chrome, Firefox & IE 9/10, no issues.
Forum: Fixing WordPress
In reply to: Server memory hitting 1GB on page requestsSorry but that doesn’t really help me; it shows that the theme makes way too many database calls (expected); the page load was slow (expected), and bugger all else. How do you see where the memory is going using that plugin?
Profiler Initiaded 0.0000 ms 16298 kB Profiler Noise 0.0200 ms 16298 kB Profiler Stopped 357.3320 ms 22891 kB
That is the only “memory” statistics I can get out of it. Not exactly what I was hoping for. Anyway I don’t have much a clue at how to debug/profile PHP on remote systems in general, it doesn’t matter if the advice is a bit techy but as long as it will actually help me pinpoint the suckers taking up memory usage. Think windows task manager – I want to see the processes which are taking up all my memory.