Hi,
It seams to me that intro slideshow images don’t cache on my site as well as on your http://www.shoppica2.com/. Is there any reason for this? And how can I enable for images in intro to be cached?
Thanks,
Marko
|
|
The same applies to banners uploaded from shoppica CP.
|
|
Would please shed more light on the ‘images don’t cache on my site’ topic ? We can’t really understand what you mean technically.
Regards,
ThemeBurn team
|
|
Hi,
The images (intro, banners) on the home page are in OC loaded from image/cache/data…
In shopica from image/data…
To be honest have no idea if this affects the performance. just I was researching a bit, cause when I put more than one intro image to the home page it loads considerably slower.
|
|
The intro and banner images are not being resized like the other images in OpenCart (products, categories etc.). Shoppica uses the original uploaded files so, no cached (smaller) versions are generated. The performance impact is up to you – if you upload large images, they will increase the time needed for the user to fetch them.
Regards,
ThemeBurn team
|
|
Thanks!
Could you please post how to generate cached images on the home page, if it is an easy solution.
Regards,
Marko
|
|
Just upload smaller images for your slideshows. There is no automatic way.
Regards,
ThemeBurn team
|
|
Thanks!
Could you please help me with one more question regarding the following script in header.tpl. I am using custom mobile theme and have commented the below script block. Is this block essential for functioning of Shoppica2 theme? Just afraid that this script is important in some functions which I am not aware of.
$(document).ready(function () {
is_mobile && $tbData->route != ‘common/home’): ?>
window.location.hash = ‘intro’;
category_path != ’0′): ?>
$.each($sReg.get(“/tb/category_path”).split(“_”), function(number, id){ $(“#menu_” + id).addClass(“s_selected”); });
});
|
|
No, this script is for the mobile theme only. You are safe to go.
Regards,
ThemeBurn team
|
|